L.S.,

Could you paste us the xbean.xml for the
{http://com.test.service}service endpoint you're trying to target?
Perhaps it doesn't support the MEP or there's an error in the URI or
something?  Are there any exception in the log for this message
exchange?

Regards,

Gert Vanthienen
------------------------
Open Source SOA: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



2009/11/16 youhaodeyi <[email protected]>:
>
> I have tried this method but the channel.send() will send a new message to
> the called service not reply.
>
> The future.get() method will block and never get reply message.
>
>
> Maciek Prochniak wrote:
>>
>> 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
>>>
>>>
>>
>>
>>
>
> --
> View this message in context: 
> http://old.nabble.com/How-can-I-send-synchronous-message-by-Destination--tp26367357p26368288.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to