You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dmitry Volodin (JIRA)" <ji...@apache.org> on 2018/10/16 08:23:00 UTC
[jira] [Commented] (CAMEL-12861) Throttler seams to malfunction if
system date change during execution
[ https://issues.apache.org/jira/browse/CAMEL-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16651299#comment-16651299 ]
Dmitry Volodin commented on CAMEL-12861:
----------------------------------------
[~michaelcoll], could you please provide a JUnit test for this issue.
> 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)