camel-users mailing list archives

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

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,

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


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message