camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Babak Vahdat (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4794) After restarting route a camel-quartz component fires right away (and it shouldn't)
Date Mon, 19 Dec 2011 13:03:30 GMT

    [ 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

       

Mime
View raw message