On Thu, Jul 12, 2012 at 9:45 AM, Hilde <[email protected]> wrote: > Hello Claus! > > Thank you for your efforts in explaining me. > > If I get you right it means that a non handeld exception propagates the > exception back > to the caller whereas a route with no exception handling is lost or it is > propagated to > the default error handler? >
Yes if you have onException then that kicks in, instead of the error handler. So the onException is for fine grained error handler, based on the exception type. Where as error handler is coarse grained to deal with any other kind of exceptions, and as a fallback etc. So only one of them will kick-in and react upon the exception. Either onException or the error handler. > Hilde > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Basic-knowledge-onException-tp5715861p5715927.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
