You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas (JIRA)" <ji...@apache.org> on 2013/04/16 13:27:17 UTC

[jira] [Updated] (CAMEL-6287) UnknowHostException does not reach onCompletion() if consumer.bridgeErrorHandler is enabled

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

Thomas  updated CAMEL-6287:
---------------------------

    Attachment: OnCompletionTest.java
    
> UnknowHostException does not reach onCompletion() if consumer.bridgeErrorHandler is enabled
> -------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-6287
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6287
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.4, 2.10.5
>            Reporter: Thomas 
>         Attachments: OnCompletionTest.java
>
>
> consumer.bridgeErrorHandler is enabled on file or FTP.
> UnknownHostException or other GenericFileOperationFailedException are not routed to onCompletion(). 
> I understand the JavaDoc for onCompletion() that every exchange regardless if success or failed would be routed to onCompletion().
> In my case I have the need to aggregate *every* exchange to show a status of the camel route. Failed exchanges need to be inside this monitoring.
> See attached unit test.

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