camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrè <morpheusan...@web.de>
Subject Re: Is it possible to propagate an exception to the parent route?
Date Fri, 01 Jul 2011 17:15:19 GMT
ok i did  it this way:

Exception e = exchange.getProperty(Exchange.EXCEPTION_CAUGHT,
Exception.class);

i throught the exception is always set in the exchange, that is not correct.
you have  access it through the properties


--
View this message in context: http://camel.465427.n5.nabble.com/Is-it-possible-to-propagate-an-exception-to-the-parent-route-tp4541827p4542786.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message