The descriptions on this page may help you. They describe the request
reply pattern when using several processors and also
how the reply goes back to the from.
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html
To make it short you can use a transform easily. The camel-cxf component
can do the xml to soap and vice a versa for you.
Use the payload mode to achieve that.
Christian
Am 04.02.2012 19:00, schrieb wanggang1:
Hi,
I'm new with Camel. I have tried to search the web for an answer but could
not come up with one. Here is my question. I need to route a http request
to a Web Service. The http request is in existing application so I could
not change its nature(i.e. async). My thinking is that I need to use
Request-Reply pattern and transform XML to SOAP then SOAP to XML on its way
back.
First, is these the correct approach?
Second,the request-reply sample shown in Camel document has the response
from Replier going directly to Requester. Can I add a transformer in
between?
Please help, and it'll be great if you could add a routing sample code.
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Request-Reply-pattern-tp5456573p5456573.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
Talend Application Integration Division http://www.talend.com