[
https://issues.apache.org/jira/browse/CAMEL-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-6287.
--------------------------------
Resolution: Won't Fix
I added notes to javadoc/file2 doc where the consumer.brdigeErrorHandler is
documented about this. That when in use, it routes directly to the error
handler and does *not* allow onCompletions,interceptors to kick in.
> 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
> Assignee: Claus Ibsen
> Fix For: 2.12.0
>
> 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