You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Lukasz Warzecha (JIRA)" <ji...@apache.org> on 2018/01/03 19:05:00 UTC

[jira] [Created] (CAMEL-12120) ErrorHandler is closed after failure in RoutingSlip

Lukasz Warzecha created CAMEL-12120:
---------------------------------------

             Summary: ErrorHandler is closed after failure in RoutingSlip 
                 Key: CAMEL-12120
                 URL: https://issues.apache.org/jira/browse/CAMEL-12120
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.20.1, 2.20.0, 2.19.4, 2.19.3, 2.19.2, 2.19.1, 2.19.0, 2.18.5, 2.18.4, 2.18.3, 2.18.2, 2.18.1, 2.18.0, 2.19.5, 2.20.2
            Reporter: Lukasz Warzecha
            Priority: Critical
         Attachments: TestCase.java

It seems that if further down the line after {{RoutingSlip}} or {{DynamicRouter}} there is a failure in a Route {{ErrorHandler}} always will be closed. 

This results in a situation where if similar route defined in the same place will fail - there won't be any errorHandler opened and we will get 

{{New exception occurred during processing by the DeadLetterChannel due SendProcessor has not been started: sendTo(mock://result)}}

Test case which shows the problems in attachment.
 
Problem started occurring after release 2.18.0 - responsible commit {{7c4dd0b4f6ecd4840e4ccdbf1d7c28f2e8cb5691}} 

I was looking for some workarounds/solutions but nothing comes to mind yet so any ideas are welcomed :)





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)