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

Claus Ibsen resolved CAMEL-5818.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.11.0
                   2.10.3
                   2.9.5

This works now again.
                
> 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.9.4, 2.10.0, 2.10.1, 2.10.2
>            Reporter: C S
>            Assignee: Claus Ibsen
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> This might relate to CAMEL-5024
> 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

Reply via email to