camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: OnException and log level
Date Sat, 27 Feb 2010 09:07:44 GMT
Hi

I have created ticket
https://issues.apache.org/activemq/browse/CAMEL-2504

To improve the default options so handled exceptions are not logged.
And also adding more easier options to enable/disable
retry/exhausted/handled exceptions


On Fri, Feb 26, 2010 at 6:30 PM, boday <boday@vektrel.com> wrote:
>
> Julien, I added the following to suppress these messages...
>
> DefaultErrorHandlerBuilder errHandler = defaultErrorHandler();
> errHandler.loggingLevel(LoggingLevel.DEBUG);
> errHandler.getRedeliveryPolicy().setRetriesExhaustedLogLevel(LoggingLevel.DEBUG);
> errHandler.getRedeliveryPolicy().setRetryAttemptedLogLevel(LoggingLevel.DEBUG);
> errorHandler(errHandler);
>
>
> -----
> Ben - Senior Consultant
> using SMX 3.3.1/Camel 2.1
> --
> View this message in context: http://old.nabble.com/OnException-and-log-level-tp27714424p27721142.html
> Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Mime
View raw message