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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.16.0
    • Fix Version/s: 2.16.1, 2.17.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: