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 -- View this message in context: http://old.nabble.com/How-can-I-send-synchronous-message-by-Destination--tp26367357p26367357.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
