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

Hardcoded initial delay for completionInterval in AggregateProcessor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.8.2
    • 2.8.3, 2.9.0
    • camel-core
    • Patch Available
    • Unknown

    Description

      When setting the completionInterval on an aggregator, the first completion will be triggered after 1000ms. The reason is the hardcoded initial delay in AggregateProcessor.

      This behavior has not been documented and is not expected. The expected behavior is for the first completion to be triggered after the given interval. The first completion would then be triggered after completionInterval, the second after 2 * completionInterval, the third after 3 * completionInterval and so on.

      Attachments

        1. initialCompletionIntervalTest.patch
          2 kB
          Ole Kristian Hofstad
        2. initialCompletionInterval.patch
          0.8 kB
          Ole Kristian Hofstad

        Activity

          People

            davsclaus Claus Ibsen
            okhofstad Ole Kristian Hofstad
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: