C S created CAMEL-5818:
--------------------------
Summary: Splitter does not allow errorhandler to handle exception
in the splitter-expression
Key: CAMEL-5818
URL: https://issues.apache.org/jira/browse/CAMEL-5818
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.10.2, 2.10.1, 2.10.0, 2.9.4
Reporter: C S
This might relate to Camel-3334
The following route works ok in camel 2.9.3
{code}
from("direct:sampleUri")
.errorHandler(deadLetterChannel("direct:errorhandler").disableRedelivery())
.multicast()
.stopOnException()
.split(simple("${body.list}"))
.streaming()
.stopOnException()
.process(new Processor() {
@Override
public void process(Exchange exchange) throws Exception {
}
}).end()
.end()
.to("direct:somewhere_else_1")
.to("direct:somewhere_else_2")
.end();
{code}
-> if an exception is thrown by body.list the errorhandler kicks in and the
message is handled by "direct:errorhandler". Since 2.9.4 (and also with the
latest version, 2.10.2) the errorhandler is no longer
active.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira