Benjamin Graf created CAMEL-18252:
-------------------------------------
Summary: BridgeExceptionHandlerToErrorHandler with OnCompletion
prevents processing Exception
Key: CAMEL-18252
URL: https://issues.apache.org/jira/browse/CAMEL-18252
Project: Camel
Issue Type: Bug
Components: came-core
Affects Versions: 3.17.0
Reporter: Benjamin Graf
Attachments: OnCompletionBridgeErrorHandler.java
Using BridgeExceptionHandlerToErrorHandler together with OnCompletion prevents
to process the Exception because it temporarily gets removed from exchange and
there is no other reference available. JavaDoc of OnCompletionProcessor mentions
{noformat}
the caused exception is stored as a property (Exchange.EXCEPTION_CAUGHT) on the
exchange
{noformat}
Might be a possible solution to be set in BridgeExceptionHandlerToErrorHandler
Small test case to verify, see log of missing Exception. (logging null value!)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)