On Wed, Jan 23, 2013 at 11:20 AM, developpef <src...@orange.fr> wrote: > Hello, > > This message to get more explanations on exceptions management on routes. > > Here is my app : > > I created a custom MyException extending RuntimeCamelException (wich extends > Exception). > > My routes are : > > onException(MyException.class).handled(true).log("FATAL").end(); > > from("...").onException(Exception.class).log("LOCAL_ERROR").end().to(myBean); > > MyBean is throwing a MyException. > > I was surprised to see that it was cached in the general onException route > (with log "FATAL") and not in the local route (with log "LOCAL_ERROR"). > > Is this due to the extension of RuntimeCamelException or do I missed > something? >
What Camel version do you use? > Thanks > > > > ----- > http://developpef.blogspot.com > -- > View this message in context: > http://camel.465427.n5.nabble.com/Exceptions-management-tp5726051.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen