camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fbarbat <fbar...@gmail.com>
Subject Re: DefaultErrorHandler and "nested" routes
Date Thu, 12 Sep 2013 18:53:31 GMT
Hi,

I cannot use a global onException because different actions have to be taken
on different routes to handle the exceptions. Besides, I'm handling
NoSuchElementException which is a very generic exception and handling should
be restricted to a specific route.

Just to be sure, OnException never handles exceptions from "inner" routes,
right? 

Anyway, I'll think how to structure routes in a different way so I can
handle this case.

Thanks!



--
View this message in context: http://camel.465427.n5.nabble.com/DefaultErrorHandler-and-nested-routes-tp5739261p5739278.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message