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

Enhance aggregator pattern by discardOnFailure() route directive

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.4
    • 3.0.0.RC1, 3.0.0
    • camel-core, eip
    • None
    • Unknown

    Description

      see camel users mailinglist, thread "AggregationStrategy and wrong sequence order"
      When an error occurs in the AggregationStrategy and an exception is thrown, the old aggregates stay in the aggregator for the correlation key. But sometimes the old aggregates shall be discarded, when one part is incorrect.
      So I recommend to enable a flag 'discardOnFailure()' in the route like discardOnCompletionTimeout().

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            svenb Sven Bauhan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: