camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Chirov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-11515) Aggregator is not working correctly when completionTimeout < 1000ms
Date Wed, 05 Jul 2017 18:43:00 GMT
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)

Mime
View raw message