You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/07/05 19:27:00 UTC
[jira] [Resolved] (CAMEL-11515) Aggregator is not working correctly
when completionTimeout < 1000ms
[ https://issues.apache.org/jira/browse/CAMEL-11515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-11515.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.20.0
There is a new option in 2.20 you can use to configure the checker interval
> Aggregator is not working correctly when completionTimeout < 1000ms
> -------------------------------------------------------------------
>
> Key: CAMEL-11515
> URL: https://issues.apache.org/jira/browse/CAMEL-11515
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.18.3
> Reporter: Denis Chirov
> Assignee: Claus Ibsen
> Fix For: 2.20.0
>
> Attachments: AggregateExpressionTimeoutTestModified.java
>
>
> The aggregated exchange doesn't become complete after a completionTimeout which is lower than 1000ms (e.g. 150ms)
> From source code, seems that there is no way to set a value for AggregationTimeoutMap from AggregateProcessor class:
> {code}
> {{ // check for timed out aggregated messages once every second
> timeoutMap = new AggregationTimeoutMap(getTimeoutCheckerExecutorService(), 1000L);}}
> {code}
> because it's hardcoded to 1s.
> A new option like *timeoutCheckerExecutorInterval* with default value of 1000ms will solve the problem.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)