Re: onException not working

2016-03-23 Thread Claus Ibsen
Camel uses slf4j-api so you can configure it to use any other logging library you use. http://www.slf4j.org/manual.html On Thu, Mar 24, 2016 at 4:10 AM, mayur_bm wrote: > Thank you :) > > if i mention like " java.lang.Exception" in > onException, does it handles all kind of exceptions derived fr

Re: onException not working

2016-03-23 Thread mayur_bm
Thank you :) if i mention like " java.lang.Exception" in onException, does it handles all kind of exceptions derived from it?( for ex: NullPointerException, IOException etc) here my application already has logging framework, i want to redirect all Camel Traces in to same trace files created by m

Re: onException not working

2016-03-23 Thread Quinn Stevenson
I don’t think you can handle route creation exceptions in the route builder - Camel is still constructing the route, so the route builder really can’t handle that type of exception. Have you tried your route when you get an exception while processing an exchange? It looks like it would work fo