I have a simple routing configuration of
onException(MyException.class).to(myEndpoint)

Then I have a simple implementation of a Processor interface reading from
myEndpoint (that receives an Exchange), let's call it MyProcessor.

How do I get the instance of MyException thrown from the depths of the
application to MyProcessor?

Exchange.getException returns null, and this is the place I would expect
MyException to be found.

Thank's in advance!
-- 
View this message in context: 
http://www.nabble.com/Routing-with-RouteBuilder-and-onException%2C-missing-the-Exception-instance-tp24803541p24803541.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to