Hi,
If I understand correctly, the onException() defined in the configure method
of a Routebuilder is global across all routes subsequently defined in that
method using the Camel DSL.
Is there a way to make these onException() global across routebuilder such
that I can define in one place something like,
onException(myexception.class).to(mybean)
onException(myexception2.class).to(mybean2)
just once for apply it to all possible routes (some of which may be added
later) in the given camel context irrespective of the route builder used to
create them?

Thanks in advance,
-v-



--
View this message in context: 
http://camel.465427.n5.nabble.com/Global-exception-policy-across-Route-builder-configure-methods-tp5719075.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to