You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guruprasad GV (JIRA)" <ji...@apache.org> on 2016/04/22 11:52:13 UTC

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

    [ https://issues.apache.org/jira/browse/CAMEL-9896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15253657#comment-15253657 ] 

Guruprasad GV commented on CAMEL-9896:
--------------------------------------

+1 I am facing this issue too, what is the expected behaviour? 
Would there be a work around? 

> 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.6
>         Environment: stage
>            Reporter: Nikhil Kumar
>            Priority: Minor
>
> 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)