Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 45250 invoked from network); 28 Aug 2008 05:30:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2008 05:30:13 -0000 Received: (qmail 50412 invoked by uid 500); 28 Aug 2008 05:30:11 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 50363 invoked by uid 500); 28 Aug 2008 05:30:11 -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 50347 invoked by uid 99); 28 Aug 2008 05:30:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Aug 2008 22:30:11 -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, 28 Aug 2008 05:29:22 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CBE50234C1B3 for ; Wed, 27 Aug 2008 22:29:52 -0700 (PDT) Message-ID: <813873750.1219901392831.JavaMail.jira@brutus> Date: Wed, 27 Aug 2008 22:29:52 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Commented: (CAMEL-794) Pipeline with thread() processor also redelivers following the default policy independently from the preset errorhadling In-Reply-To: <806591238.1218164572573.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45205#action_45205 ] Claus Ibsen commented on CAMEL-794: ----------------------------------- The "number of re-deliveries is one less than expected." has been fixed. > Pipeline with thread() processor also redelivers following the default policy independently from the preset errorhadling > -------------------------------------------------------------------------------------------------------------------------- > > Key: CAMEL-794 > URL: https://issues.apache.org/activemq/browse/CAMEL-794 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 1.4.0 > Reporter: Bela Vizy > Assignee: Claus Ibsen > Fix For: 1.5.0 > > Attachments: BelasThreadErrorHandlerTest1.java, BelasThreadErrorHandlerTest2.java > > > When using the thread processor in a simple pipeline, the exchange will be redelivered 6 times (default policy) along with the preset errorhandler settings. The code below will re-deliver 6 times to the default DeadLetterChannel and once to the log:errorTester. > errorHandler(deadLetterChannel("log:errorTester?level=ERROR").maximumRedeliveries(1)); > > from("seda:whatEver") > .thread(2) > .process(new Processor() { > public void process(Exchange exchange) throws Exception { > System.out.println("### Exchg : " + exchange.getExchangeId()); > throw new Exception("Kaboom 2!"); > } > }); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.