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.

Reply via email to