You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Commented) (JIRA)" <ji...@apache.org> on 2012/03/09 09:58:54 UTC

[jira] [Commented] (CAMEL-5069) OnException with handled and no further processing should not send the message to the error handler

    [ https://issues.apache.org/jira/browse/CAMEL-5069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13225946#comment-13225946 ] 

Claus Ibsen commented on CAMEL-5069:
------------------------------------

I added some notes for the Camel 3.0 roadmap to improve the onException.
https://cwiki.apache.org/confluence/display/CAMEL/Camel+3.0+-+Roadmap
                
> OnException with handled and no further processing should not send the message to the error handler
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5069
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5069
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Inconsistent-onException-behaviour-tp5541356p5541356.html
> Having
> {code}
>                 errorHandler(deadLetterChannel("mock:error"));
>                 onException(Exception.class)
>                     .handled(true);
> {code}
> Should not route message to the DLC as the onException is handling the failure.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira