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

Camel 3.1.0: error handling changed, route no longer stops

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Not A Problem
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Regression:
      Regression

      Description

      Hi,

      I noticed that the error handling has changed in 3.1.0 from 3.0.1. We use a DeadLetterChannel and when the error has been handled, I expect the original route to stop and not to continue.

      When we use enrich we pass the exchange property CamelErrorHandlerHandled back to ensure the calling route stops, but that has changed. Is this correct and should we change our aggregation strategy?

      I added the strategy and it’s test.

      Kind regards,

      Remco Schoen

        Attachments

        1. BodyOnlyAggregationStrategy.groovy
          0.9 kB
          Remco Schoen
        2. BodyOnlyAggregationStrategyTest.groovy
          2 kB
          Remco Schoen
        3. BodyOnlyAggregationStrategyTest.java
          4 kB
          Guillaume Nodet

          Activity

            People

            • Assignee:
              gnodet Guillaume Nodet
              Reporter:
              r.schoen@topdesk.com Remco Schoen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: