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] [Assigned] (CAMEL-5818) Splitter does not allow errorhandler to handle exception in the splitter-expression
Date Sat, 24 Nov 2012 18:28:58 GMT

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

Claus Ibsen reassigned CAMEL-5818:
----------------------------------

    Assignee: Claus Ibsen
    
> 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
>
> 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

Mime
View raw message