Hi,

Your route expects to send back a response, however you are using
template.sendBody() that does not expect to receive anything (one-way send).

If you expect to receive a response from your bean, you should use
template.requestBody() that sends a request and expects a response.

Cheers,

Ashwin...

P.S: I have not inspected your beans closely but notice that they have
return values... You may also want to append a logger and/or a camel tracer
to trace messages flowing through the route...

-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
--
View this message in context: 
http://camel.465427.n5.nabble.com/Sending-multiple-messages-in-Camel-tp5541723p5542792.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to