camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Sending multiple messages in Camel
Date Wed, 07 Mar 2012 00:37:42 GMT

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.



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) 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message