Instead of using a ProducerTemplate it would be much easier to do a to("...")
to fire an exchange into your second route inside the same camel context.

And if you want to access the Exception attached to the failed exchange you
can make use of a Processor or your Bean (Bean-Binding) inside your
onException clause where using exchange.getException() would deliver you the
attached exception by the given exchange.

Babak 

--
View this message in context: 
http://camel.465427.n5.nabble.com/Exception-handling-Processor-and-Spring-DSL-tp5454311p5455352.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to