You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by kumar5 <de...@gmail.com> on 2016/03/30 20:09:13 UTC
Exception handling by main route to all sub routes
routeA is calling routeB and routeA has Exception handling and set the
retry. If route B throws exception then it doesn’t propagate to routeA. It
means retry will not happen.
Is it as design if yes is any way to propagate and main routeA can handle
exception and retry
--
View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-by-main-route-to-all-sub-routes-tp5780084.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Exception handling by main route to all sub routes
Posted by kumar5 <de...@gmail.com>.
Thanks, it worked.
--
View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-by-main-route-to-all-sub-routes-tp5780084p5780097.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Exception handling by main route to all sub routes
Posted by Quinn Stevenson <qu...@pronoia-solutions.com>.
Change the error handler on routeB to the noErrorHandler http://camel.apache.org/error-handler.html <http://camel.apache.org/error-handler.html>
> On Mar 30, 2016, at 12:09 PM, kumar5 <de...@gmail.com> wrote:
>
> routeA is calling routeB and routeA has Exception handling and set the
> retry. If route B throws exception then it doesn’t propagate to routeA. It
> means retry will not happen.
> Is it as design if yes is any way to propagate and main routeA can handle
> exception and retry
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Exception-handling-by-main-route-to-all-sub-routes-tp5780084.html
> Sent from the Camel - Users mailing list archive at Nabble.com.