You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Babak Vahdat (Commented) (JIRA)" <ji...@apache.org> on 2011/12/19 14:03:30 UTC

[jira] [Commented] (CAMEL-4794) After restarting route a camel-quartz component fires right away (and it shouldn't)

    [ https://issues.apache.org/jira/browse/CAMEL-4794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13172248#comment-13172248 ] 

Babak Vahdat commented on CAMEL-4794:
-------------------------------------

The newly introduced QuartzRouteRestartTest unit-test breaks the checkstyle (the checkstyle-error-messages on my box are in german and not english):

{code}
[INFO] Starting audit...
D:\Data\eclipse-workspace\camel\components\camel-quartz\src\test\java\org\apache\camel\component\quartz\QuartzRouteRestartTest.java:61:41: 'DONE' entspricht nicht dem Muster '^[a-z][a-zA-Z0-9]*$'.
D:\Data\eclipse-workspace\camel\components\camel-quartz\src\test\java\org\apache\camel\component\quartz\QuartzRouteRestartTest.java:61:41: Variable 'DONE' wird explizit mit 'false' initialisiert (Defaultwert für ihren Typ).
Audit done.
{code}
                
> After restarting route a camel-quartz component fires right away (and it shouldn't)
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-4794
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4794
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-quartz
>    Affects Versions: 2.8.3
>            Reporter: Hadrian Zbarcea
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.8.4, 2.9.0
>
>
> I am adding a new QuartzRouteRestartTest that demonstrates this issue. Not only a message is fired right after restart, but the scheduled times are messed up as well. I tried to keep the fire interval as low as possible, but it has to be large enough to demonstrate the problem. So I went down to 0/5 (fire every five sec), but it's more obvious with 0/10 or 0/15, the trigger starts firing at the wrong time.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira