Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 24945 invoked from network); 8 Sep 2008 08:54:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Sep 2008 08:54:13 -0000 Received: (qmail 46554 invoked by uid 500); 8 Sep 2008 08:54:11 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 46534 invoked by uid 500); 8 Sep 2008 08:54: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 46519 invoked by uid 99); 8 Sep 2008 08:54:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 01:54: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; Mon, 08 Sep 2008 08:53:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 94855234C1C4 for ; Mon, 8 Sep 2008 01:53:52 -0700 (PDT) Message-ID: <1260257374.1220864032593.JavaMail.jira@brutus> Date: Mon, 8 Sep 2008 01:53: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=45505#action_45505 ] Claus Ibsen commented on CAMEL-794: ----------------------------------- Bela yes please if you are digging into this create a new ticket with the findings. When you say "logged" do you mean the DEBUG logging in camel or that the exchange is moved to a dead letter channel after all redeliveries failed? Can you elaborate a bit on this? > 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.