Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
2.10.4, 2.10.5
-
None
-
Unknown
Description
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.