Hello list! I have a question related to the org.apache.camel.processor.aggregate.AggregationStrategy in conjunction with the enrich DSL, the onException definition and a thrown exception (we are using Camel 2.2.0-fuse-02-00).
Our simplified route looks like the following: {code} onException(Exception.class) .maximumRedeliveries(0) .handled(true) .inOnly("seda:queue:wsResponseFile") .end(); from("direct:start") .split(body(String.class).tokenize("\n")) .enrich("direct:subroute", new MySubrouteAggregationStrategy()) .inOnly("seda:queue:wsResponseFile") .end(); from("direct:subroute").process(new Processor() { public void process(Exchange exchange) throws Exception { throw new Exception("forced Exception"); } }) .end(); {code} In this configuration, the "MySubrouteAggregationStrategy" is called. If I set "handled(false)" in my onException definition, the "MySubrouteAggregationStrategy" is _NOT_called. Is this an expected behavior? I didn't found any documentation about the expected behavior... Camel 2.6.0 has the same behavior... Thank you in advance, Christian -- View this message in context: http://camel.465427.n5.nabble.com/Behavior-of-AggregationStrategy-in-conjunction-with-the-enrich-DSL-the-onException-definition-and-ann-tp3695716p3695716.html Sent from the Camel - Users mailing list archive at Nabble.com.