Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BFBE119DBB for ; Fri, 25 Mar 2016 21:29:25 +0000 (UTC) Received: (qmail 1620 invoked by uid 500); 25 Mar 2016 21:29:25 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 1580 invoked by uid 500); 25 Mar 2016 21:29:25 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 1570 invoked by uid 99); 25 Mar 2016 21:29:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Mar 2016 21:29:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7FB7A2C14F8 for ; Fri, 25 Mar 2016 21:29:25 +0000 (UTC) Date: Fri, 25 Mar 2016 21:29:25 +0000 (UTC) From: "Tomas Rohovsky (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (CAMEL-9741) recipientList stop if the second endpoint throw exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAMEL-9741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tomas Rohovsky reassigned CAMEL-9741: ------------------------------------- Assignee: Tomas Rohovsky (was: Claus Ibsen) > recipientList stop if the second endpoint throw exception > --------------------------------------------------------- > > Key: CAMEL-9741 > URL: https://issues.apache.org/jira/browse/CAMEL-9741 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 2.16.2 > Reporter: courtin > Assignee: Tomas Rohovsky > Fix For: 2.16.3, 2.18.0, 2.17.1 > > Attachments: recipientList.rar > > > this code is ok and do the agregate : > from("direct:rlAggregate") > .process(new Processor() { String destinations = "bean:throwingExceptionConsumerB, bean:consumerC";} }) > .recipientList(header("destinations"), ",").parallelProcessing().aggregationStrategy(agg); > an this one not : > from("direct:rlAggregate") > .process(new Processor() { String destinations = "bean:consumerC, bean:throwingExceptionConsumerB";} }) > .recipientList(header("destinations"), ",").parallelProcessing().aggregationStrategy(agg); > it's throwing : > org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange > they should have the same results. And only the option stopOnException should allow to stop when an Exception rise. -- This message was sent by Atlassian JIRA (v6.3.4#6332)