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

Camel 3.1.0: error handling changed, route no longer stops

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Not A Problem
    • 3.1.0
    • None
    • None
    • None
    • Unknown
    • 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. BodyOnlyAggregationStrategyTest.java
          4 kB
          Guillaume Nodet
        2. BodyOnlyAggregationStrategyTest.groovy
          2 kB
          Remco Schoen
        3. BodyOnlyAggregationStrategy.groovy
          0.9 kB
          Remco Schoen

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: