Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 49824 invoked from network); 30 Oct 2008 14:05:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 14:05:59 -0000 Received: (qmail 63100 invoked by uid 500); 30 Oct 2008 14:06:01 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 63081 invoked by uid 500); 30 Oct 2008 14:06:01 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 63049 invoked by uid 99); 30 Oct 2008 14:06:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 07:06:01 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 14:04:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6AC6A234C24D for ; Thu, 30 Oct 2008 07:05:05 -0700 (PDT) Message-ID: <1905680597.1225375505432.JavaMail.jira@brutus> Date: Thu, 30 Oct 2008 07:05:05 -0700 (PDT) From: "Jonathan Anstey (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Created: (CAMEL-1036) Add ability to configure log level on exceptions from DLC retry mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.