You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nikhil Kumar (JIRA)" <ji...@apache.org> on 2016/04/21 10:32:25 UTC

[jira] [Created] (CAMEL-9896) Deadletter Failure processor is invoked even if error handling strategy defines to continue routing

Nikhil Kumar created CAMEL-9896:
-----------------------------------

             Summary: Deadletter Failure processor is invoked even if error handling strategy defines to continue routing
                 Key: CAMEL-9896
                 URL: https://issues.apache.org/jira/browse/CAMEL-9896
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.15.0
         Environment: stage
            Reporter: Nikhil Kumar
            Priority: Critical


When a DeadLetterChannel is used as context scoped error handling strategy with FailureProcessor set and a route scoped error handling strategy is defined to continue routing in case of certain exception classes, then it is observed that even in case of exceptions which belong to exceptions defined in OnException clause, the dead letter's failure processor is still triggered. 

A test case to simulate this behaviour is pasted. 
http://pastebin.com/raw/cfQhsJj0 - contains test case.
http://pastebin.com/raw/K6wZc9Yh - test output



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)