camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Narrell <matt.narr...@gmail.com>
Subject Re: Global onException clause with RouteBuilders
Date Tue, 24 Jul 2012 16:17:22 GMT
Perhaps this applies?

http://camel.465427.n5.nabble.com/Exception-from-child-route-not-caught-in-parent-onException-td4780851.html#a4781431

-matt

On Jul 23, 2012, at 5:16 PM, Matt Narrell wrote:

> I have a set of Java DSL RouteBuilders with onException clauses at the RouteBuilder level,
and some per individual routes.  These are bound to the CamelContext via Spring DSL <routeBuilder
ref=""/>.  Also in the CamelContext is a "global" onException defined.  
> 
> My global onException clause is never executed.  Does the global clause work with RouteBuilders
in this way?  If I move my global exceptions into the RouteBuilder, they are caught and handled,
but not at the global level.
> 
> -matt
> 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message