camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-9741) recipientList stop if the second endpoint throw exception
Date Tue, 22 Mar 2016 13:40:25 GMT

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

Claus Ibsen updated CAMEL-9741:
-------------------------------
    Priority: Major  (was: Critical)

> 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
>         Environment: java 7/eclipse
>            Reporter: courtin
>              Labels: patch
>
> 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)

Mime
View raw message