[
https://issues.apache.org/jira/browse/CAMEL-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712605#comment-16712605
]
Dmitry Volodin commented on CAMEL-12861:
----------------------------------------
I agree with [~onders], we could switch time calculation against start date
with and ignore further date change, but the problems can occurs between
midnight execution.
> Throttler seams to malfunction if system date change during execution
> ---------------------------------------------------------------------
>
> Key: CAMEL-12861
> URL: https://issues.apache.org/jira/browse/CAMEL-12861
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.21.2
> Reporter: Michaël COLL
> Priority: Minor
>
> The camel throttler component seams to malfunction if system date is changed
> during execution.
> Test case :
> * Start a route with a throttle component at 14h00 with configuration :
> ** rejectExecution = true
> ** timePeriodMillis = 2000ms
> ** maximumRequestCount = 10
> * Send 1 message on this route
> * Change system date to 12h00
> * Send 1 message
> * A ThrottlerRejectedExecutionException is thrown
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)