When you use producer template with InOut (eg requestBody) then the
template will wait for a reply message to come back from the "other
And are you asking how to handle if that response does not come back
in time, and a timeout was triggered due requestTimeout?
The producer template is just like any Java api, it throws an
exception if something goes wrong.
On Fri, Nov 22, 2013 at 10:29 AM, kiranreddykasa <[hidden email]> wrote:
> I would like to know how to do error handling with producer template.
> I'm sending a message to activemq endpoint using 'requestBody' of producer
> Suppose if there is requestTimeout in activemq how can I catch that
> exception and build response??
> kiran Reddy
> View this message in context: http://camel.465427.n5.nabble.com/Producer-template-error-handling-tp5743684.html > Sent from the Camel - Users mailing list archive at Nabble.com.