camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Work started: (CAMEL-1036) Add ability to configure log level on exceptions from DLC retry mechanism
Date Thu, 30 Oct 2008 14:05:05 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on CAMEL-1036 started by Jonathan Anstey.

> Add ability to configure log level on exceptions from DLC retry mechanism
> -------------------------------------------------------------------------
>
>                 Key: CAMEL-1036
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1036
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.5.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>
> Right now, when Camel tries to redeliver an message a number of times (using the DLC),
the exceptions are logged as ERROR. Sometimes though, these retries may be considered part
of normal operation. I'm going to put in DSL options to configure this log level. Something
like this will be possible:
> {code}
> onException(AException.class).maximumRedeliveries(5)
>             .retriesExhaustedLogLevel(LoggingLevel.DEBUG)
>             .retryAttemptedLogLevel(LoggingLevel.DEBUG)
>             .process(new MyExceptionProcessor("I got an Exception."));
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message