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 2014/10/01 11:19:33 UTC
[jira] [Resolved] (CAMEL-7885) Timer - Restarting a timer endpoint
may not trigger at expected time the first time
[ https://issues.apache.org/jira/browse/CAMEL-7885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-7885.
--------------------------------
Resolution: Fixed
> Timer - Restarting a timer endpoint may not trigger at expected time the first time
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-7885
> URL: https://issues.apache.org/jira/browse/CAMEL-7885
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.12.4, 2.13.2, 2.14.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.12.5, 2.13.3, 2.14.1, 2.15.0
>
>
> If you stop a timer route, and that route has an inflight exchange causing the stop route to force stop due timeout. Then that timer task is still running in the background.
> And if you restart the timer route, then it will reuse the old timer instance, which may be still running, and therefore the first trigger time may not happen at the time you would expect.
> For example from timer:foo?period=2s to trigger every 2s.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)