Re: onException block in camel 2.16.1

2016-02-05 Thread Claus Ibsen
I visited a Camel user and they had the issue too, where handled exceptions was still being logged. It was only Splunk who benefited because they sent ERRORs from the logs to splunk, and it cost $$$ :( On Fri, Feb 5, 2016 at 5:16 PM, Andreas Siepert wrote: > Great! > Am 05.02.2016 16:59 schrie

Re: onException block in camel 2.16.1

2016-02-05 Thread Andreas Siepert
Great! Am 05.02.2016 16:59 schrieb "Claus Ibsen" : > Hi > > Yeah thanks for reporting and discussing this. We have found the bug > and its fixed in the next release. > > On Tue, Feb 2, 2016 at 10:21 AM, Andreas Siepert > wrote: > > Opened an issue https://issues.apache.org/jira/browse/CAMEL-9558

Re: onException block in camel 2.16.1

2016-02-05 Thread Claus Ibsen
Hi Yeah thanks for reporting and discussing this. We have found the bug and its fixed in the next release. On Tue, Feb 2, 2016 at 10:21 AM, Andreas Siepert wrote: > Opened an issue https://issues.apache.org/jira/browse/CAMEL-9558 > > Regards > Andi > > 2016-02-02 7:51 GMT+01:00 TygerC : > >> Set

Re: onException block in camel 2.16.1

2016-02-02 Thread lw
Awesome! Your solution works much cleaner! Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/onException-block-in-camel-2-16-1-tp5777019p5777165.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: onException block in camel 2.16.1

2016-02-02 Thread Andreas Siepert
Opened an issue https://issues.apache.org/jira/browse/CAMEL-9558 Regards Andi 2016-02-02 7:51 GMT+01:00 TygerC : > Setting the logging level off works fine: > > logName="LoggingErrorHandler" level="OFF"/> > > And also doTry/doCatch work: the exception won't go the the error handler > from the c

Re: onException block in camel 2.16.1

2016-02-01 Thread TygerC
Setting the logging level off works fine: And also doTry/doCatch work: the exception won't go the the error handler from the catch block. But: it this a bug or a feature? I really don't like a behaviour that I don't understand. -- View this message in context: http://camel.465427.n5.nabble

Re: onException block in camel 2.16.1

2016-02-01 Thread lw
I got the defaultErrorHandler to collapse with these 2 adjustments: - set messageHistory="false" on CONTEXT - set logStackTrace="false" for onException block, like this: The timestamp with default error handler still shows up, but much easier on the eye. I tried but it makes no impac

Re: onException block in camel 2.16.1

2016-01-30 Thread Andreas Siepert
HI again, when configuring the errorhandler like this: errorHandler(defaultErrorHandler() .logExhausted(false) ); the errorHandler won't log. Another parameter can be set with .logHandled(false) - false is set per default - and i expected that there would be no log when the exception had been hand

Re: onException block in camel 2.16.1

2016-01-30 Thread Andreas Siepert
Hi, my post some days ago relates to the changed behavior too. Until 2.16. one could be sure that no defaulterrorhandler kicks in when an exception was marked as handled. Could please someone clarify if it is a bug or a configuration issue. Thanks Andreas Am 30.01.2016 15:19 schrieb "TygerC" : >

Re: onException block in camel 2.16.1

2016-01-30 Thread TygerC
I was going to post the same question since the behaviour is a bit puzzling. Why is it working now this way? I couldn't find any documentation regarding the matter. -- View this message in context: http://camel.465427.n5.nabble.com/onException-block-in-camel-2-16-1-tp5777019p5777044.html Sent

Re: onException block in camel 2.16.1

2016-01-29 Thread Claus Ibsen
You can turn on | off | levels and whatnot on the error handler. There you can turn off showing stacktraces etc. On Fri, Jan 29, 2016 at 11:56 PM, lw wrote: > Hello, I'm testing functionality of my existing files from camel 2.14 on > updated camel 2.16.1 version. It appears that camel DefaultErro

onException block in camel 2.16.1

2016-01-29 Thread lw
Hello, I'm testing functionality of my existing files from camel 2.14 on updated camel 2.16.1 version. It appears that camel DefaultErrorHandler responds to the error after the error is handled by onException block. In console I see my error handled message + new timestamp with the full trace of th