Hi Charles,

to understand how the InOut pattern works I recommend reading:
http://camel.apache.org/request-reply.html
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html

Christian

-----Ursprüngliche Nachricht-----
Von: Charles Moulliard [mailto:[email protected]] 
Gesendet: Dienstag, 25. Januar 2011 15:50
An: [email protected]
Betreff: WebService + chaining of InOut


Hi, 

Can we chain InOut camel routes like that ?

from(cxf:bean:realTime)
.to(bean:validate)
.inout(queue:in:realtime)
.to(bean:reply);

from(queue:in:realtime)
.to(bean:enrich)
.choice
.when(destination = A)
.to(bean:enrich)
.inOut(queue:in:generatePDF) // generate PDF that we would like to returrn to 
WS RealTime ...;

Regards,

Charles Moulliard
--
View this message in context: 
http://camel.465427.n5.nabble.com/WebService-chaining-of-InOut-tp3356386p3356386.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to