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 (Created) (JIRA)" <ji...@apache.org> on 2012/02/11 13:17:59 UTC

[jira] [Created] (CAMEL-5000) Error handler not called when recipient list has non existing endpoint

Error handler not called when recipient list has non existing endpoint
----------------------------------------------------------------------

                 Key: CAMEL-5000
                 URL: https://issues.apache.org/jira/browse/CAMEL-5000
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.9.0, 2.8.4
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.8.5, 2.9.1, 2.10.0


Given this route
{code}

                onException(Exception.class)
                        .handled(true)
                        .to("mock:dead");

                from("direct:start")
                    .recipientList(constant("fail:endpoint"))
                    .to("mock:result");
{code}

You would assume the on exception will handle the exception from the recipient list with the non existing endpoint.
This is not the case. We should let recipient list detect and let the error handler handle it.

--
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

        

[jira] [Resolved] (CAMEL-5000) Error handler not called when recipient list has non existing endpoint

Posted by "Claus Ibsen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-5000.
--------------------------------

    Resolution: Fixed
    
> Error handler not called when recipient list has non existing endpoint
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-5000
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5000
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.4, 2.9.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.5, 2.9.1, 2.10.0
>
>
> Given this route
> {code}
>                 onException(Exception.class)
>                         .handled(true)
>                         .to("mock:dead");
>                 from("direct:start")
>                     .recipientList(constant("fail:endpoint"))
>                     .to("mock:result");
> {code}
> You would assume the on exception will handle the exception from the recipient list with the non existing endpoint.
> This is not the case. We should let recipient list detect and let the error handler handle it.

--
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