[
https://issues.apache.org/activemq/browse/CAMEL-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40411
]
Roman Kalukiewicz commented on CAMEL-182:
-----------------------------------------
I have another comment to this issue. From one side we should be able to
process exception in pipeline. On the other hand we should have an access to
exception that was thrown in exception handling flow. Maybe some way to reset
the exception or move it to property?
> Exception is not handled when pipeline is involved
> --------------------------------------------------
>
> Key: CAMEL-182
> URL: https://issues.apache.org/activemq/browse/CAMEL-182
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 1.2.0
> Reporter: Roman Kalukiewicz
> Attachments: ExceptionHandlingTest.java
>
>
> Exceptions are not handled when exception processing is done by pipeline.
> It is probably because pipeline breaks when exchange contains an exception
> and there is exception because in
> {{org.apache.camel.processor.DeadLetterChannel.process(Exchange,
> AsyncCallback, RedeliveryData)}} method when you handle exception you clear
> it, but just few lines later in {{incrementRedeliveryCounter}} invocation you
> set it back.
> JUnit test attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.