[
https://issues.apache.org/jira/browse/CAMEL-6287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660763#comment-13660763
]
Claus Ibsen commented on CAMEL-6287:
------------------------------------
Yeah this is currently not supported. The on completions do not get triggered
when using the bridge error handler from Java DSL.
> 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
> 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