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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/07 23:32:58 UTC

[jira] [Resolved] (CAMEL-5065) Populating Exchange.FAILURE_ENDPOINT when bean is referenced using bean(...) and throws Exception

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

Claus Ibsen resolved CAMEL-5065.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s: 2.10.0
         Assignee: Claus Ibsen
    
> Populating Exchange.FAILURE_ENDPOINT when bean is referenced using bean(...) and throws Exception
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5065
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5065
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.1
>            Reporter: Marco Zapletal
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.10.0
>
>         Attachments: populatingFailureEndpointProperty.zip
>
>
> We are currently working on the management of failed exchanged. For getting an insight what has happened the Exchange.FAILURE_ENDPOINT delivers valuable information. However, this property gets only populated by endpoints. This means, when using beans, the property is set when the bean is referenced using to(bean://exceptionBean), but not if the bean is referenced using bean(exceptionBean). In the latter case, the property gets either populated using the last endpoint before the bean(...) or not at all. Please see the attached test case.
> Thus, I would like to suggest populating the Exchange.FAILURE_ENDPOINT also for beans that are referenced in the DSL using the .bean() notation

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