TryProcessor sets "caught.exception" header to in message, while there can be
out already
-----------------------------------------------------------------------------------------
Key: CAMEL-1356
URL: https://issues.apache.org/activemq/browse/CAMEL-1356
Project: Apache Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 1.6.0
Reporter: Roman Kalukiewicz
Priority: Critical
Error exists in
{{org.apache.camel.processor.TryProcessor.handleException(Exchange,
Throwable)}}. If your exchange has already out message (that can happen if you
set out and then throw an exception. Then the exception caught is set on in
message. When it reaches a pipeline it will be lost after first hop.
I believe {{TryProcessor}} should do what Pipelient does - copy *out* to *in*
in new exchange if out exists.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.