camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6287) UnknowHostException does not reach onCompletion() if consumer.bridgeErrorHandler is enabled
Date Tue, 16 Apr 2013 11:23:15 GMT
Thomas  created CAMEL-6287:
------------------------------

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


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

Mime
View raw message