hi,
I think that i meet a problem with the recipientList when an endpoint throw
an exception.

this code work :

 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 the exception :

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 from an endpoint.

thanks



--
View this message in context: 
http://camel.465427.n5.nabble.com/problem-with-exception-in-the-recipientList-tp5779499.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to