You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Matthew Good (JIRA)" <ji...@apache.org> on 2011/04/09 00:37:06 UTC
[jira] [Created] (AMQ-3278) CRON scheduling does not work correctly
CRON scheduling does not work correctly
---------------------------------------
Key: AMQ-3278
URL: https://issues.apache.org/jira/browse/AMQ-3278
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.5.0
Environment: Windows 7
Reporter: Matthew Good
I have a listener with an event handler listening for messages and logging when they come in.
I sent a message to that queue with CRON string of "25 * * * *". All other scheduler properties are not set. No ttl.
The first time 25 after the hour comes around, a message is sent and my listener receives it.
All subsequent times 25 after the hour come around, the listener doesn't receive anything.
The admin console Queues page shows that the subsequent messages are waiting in the queue but drilling into the queue shows no message.
Restarting ActiveMQ and the Queues page doesn't show any messages.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3278) CRON scheduling does not work
correctly
Posted by "Matthew Good (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017732#comment-13017732 ]
Matthew Good commented on AMQ-3278:
-----------------------------------
After restarting ActiveMQ, the messages that I couldn't see get delivered which probably is why none show in the Queues list after the restart.
If I use Time To Wait and Number of Repeats instead of CRON, it works fine.
I don't know how to set up a unit test to test this given the need for a listener and such a long delay. I used the administration console to create the messages. A very simple listener will do.
> CRON scheduling does not work correctly
> ---------------------------------------
>
> Key: AMQ-3278
> URL: https://issues.apache.org/jira/browse/AMQ-3278
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.5.0
> Environment: Windows 7
> Reporter: Matthew Good
>
> I have a listener with an event handler listening for messages and logging when they come in.
> I sent a message to that queue with CRON string of "25 * * * *". All other scheduler properties are not set. No ttl.
> The first time 25 after the hour comes around, a message is sent and my listener receives it.
> All subsequent times 25 after the hour come around, the listener doesn't receive anything.
> The admin console Queues page shows that the subsequent messages are waiting in the queue but drilling into the queue shows no message.
> Restarting ActiveMQ and the Queues page doesn't show any messages.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (AMQ-3278) CRON scheduling does not work
correctly
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017720#comment-13017720 ]
Timothy Bish commented on AMQ-3278:
-----------------------------------
Can you attach a JUnit test case that reproduces this issue?
> CRON scheduling does not work correctly
> ---------------------------------------
>
> Key: AMQ-3278
> URL: https://issues.apache.org/jira/browse/AMQ-3278
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.5.0
> Environment: Windows 7
> Reporter: Matthew Good
>
> I have a listener with an event handler listening for messages and logging when they come in.
> I sent a message to that queue with CRON string of "25 * * * *". All other scheduler properties are not set. No ttl.
> The first time 25 after the hour comes around, a message is sent and my listener receives it.
> All subsequent times 25 after the hour come around, the listener doesn't receive anything.
> The admin console Queues page shows that the subsequent messages are waiting in the queue but drilling into the queue shows no message.
> Restarting ActiveMQ and the Queues page doesn't show any messages.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (AMQ-3278) CRON scheduling does not work
correctly
Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AMQ-3278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timothy Bish resolved AMQ-3278.
-------------------------------
Resolution: Fixed
Assignee: Timothy Bish
Fixed in trunk.
> CRON scheduling does not work correctly
> ---------------------------------------
>
> Key: AMQ-3278
> URL: https://issues.apache.org/jira/browse/AMQ-3278
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.5.0
> Environment: Windows 7
> Reporter: Matthew Good
> Assignee: Timothy Bish
>
> I have a listener with an event handler listening for messages and logging when they come in.
> I sent a message to that queue with CRON string of "25 * * * *". All other scheduler properties are not set. No ttl.
> The first time 25 after the hour comes around, a message is sent and my listener receives it.
> All subsequent times 25 after the hour come around, the listener doesn't receive anything.
> The admin console Queues page shows that the subsequent messages are waiting in the queue but drilling into the queue shows no message.
> Restarting ActiveMQ and the Queues page doesn't show any messages.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira