it's covered here:
http://servicemix.apache.org/servicemix-bean.html
please, look at 'Message processing' example

br, maciek

On Sun, 2009-11-15 at 22:30 -0800, youhaodeyi wrote:
> I use servicemix-bean component to deploy my service unit and set a field
> with @ExchangeTarget annotation. See below:
> 
> @ExchangeTarget(uri = "service:http://com.test.service/myservice";)
> public Destination target;
> 
> future = target.send(targetMsg);
> NormalizedMessage retMsg = future.get();
> 
> target.send() is called to send the message to myservice and waiting for
> reply. How can I reply the message in myservice? myservice implements
> MessageExchangeListener interface.
> 
> thanks,
> 
> Zhao Yi
> 
> 

Reply via email to