You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Willem.Jiang" <wi...@gmail.com> on 2012/08/28 11:28:11 UTC

Re: Apache Camel Inout routes call fault on servicemix esb

Hi,

How did you send the message to jms endpoint?
If you use the ProduceTemplate, you can use the requestBodyAndHeaders(...)
to send the message and receive the response instead of using the async API
to send the message.

BTW, we may provide the asyc API for the bean to use, but it will expose the
Camel API to the bean which we don't want the use to know.

I think you can try out the AsycProcess API to setup the async invocation
that you want.

Willem 



--
View this message in context: http://servicemix.396122.n5.nabble.com/Apache-Camel-Inout-routes-call-fault-on-servicemix-esb-tp5714278p5714279.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Apache Camel Inout routes call fault on servicemix esb

Posted by "Willem.Jiang" <wi...@gmail.com>.
Did you try to implement the Async Process API in the MyTransformation()?

In this way you can use the ProducerTemplate async send to send the message
to the jms endpoint.



--
View this message in context: http://servicemix.396122.n5.nabble.com/Apache-Camel-Inout-routes-call-fault-on-servicemix-esb-tp5714278p5714287.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.