You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Denis Chirov (JIRA)" <ji...@apache.org> on 2017/07/05 18:43:00 UTC

[jira] [Created] (CAMEL-11515) Aggregator is not working correctly when completionTimeout < 1000ms

Denis Chirov created CAMEL-11515:
------------------------------------

             Summary: Aggregator is not working correctly when completionTimeout < 1000ms
                 Key: CAMEL-11515
                 URL: https://issues.apache.org/jira/browse/CAMEL-11515
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.18.3
            Reporter: Denis Chirov
         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)