You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ole Kristian Hofstad (Updated) (JIRA)" <ji...@apache.org> on 2011/11/10 15:37:51 UTC

[jira] [Updated] (CAMEL-4660) Hardcoded initial delay for completionInterval in AggregatorService

     [ https://issues.apache.org/jira/browse/CAMEL-4660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ole Kristian Hofstad updated CAMEL-4660:
----------------------------------------

    Attachment: initialCompletionInterval.patch

Patch which sets the initial delay to the same value as the completionInterval
                
> Hardcoded initial delay for completionInterval in AggregatorService
> -------------------------------------------------------------------
>
>                 Key: CAMEL-4660
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4660
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.8.2
>            Reporter: Ole Kristian Hofstad
>            Priority: Minor
>              Labels: aggregator
>         Attachments: initialCompletionInterval.patch
>
>
> When setting the completionInterval on an aggregator, the first completion will be triggered after 1000ms. The reason is the hardcoded initial delay of 1000ms 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira