Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12120

ErrorHandler is closed after failure in RoutingSlip

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.18.0, 2.18.1, 2.18.2, 2.18.3, 2.18.4, 2.18.5, 2.19.0, 2.19.1, 2.19.2, 2.19.3, 2.19.4, 2.19.5, 2.20.0, 2.20.1, 2.20.2
    • 2.21.0
    • camel-core
    • None
    • Unknown

    Description

      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

      Attachments

        1. TestCase.java
          2 kB
          Lukasz Warzecha

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              sycyhy Lukasz Warzecha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: