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

Aggregator in preCompletion mode should also timeout if the new group does not receive further messages

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.16.0
    • 2.16.1, 2.17.0
    • camel-core
    • None
    • Unknown

    Description

      Camel Aggregator's Pre-completion mode might not work correctly with option completionTimeout.

      Comment this line AggregatePreCompleteAwareStrategyTimeoutTest and test will fail. When the old exchange is marked as pre-complete, there is no timeout started for new group of aggregated messages.

      https://github.com/apache/camel/blob/master/camel-core/src/test/java/org/apache/camel/processor/aggregator/AggregatePreCompleteAwareStrategyTimeoutTest.java#L38

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: