You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2010/09/08 14:45:43 UTC

[jira] Resolved: (AMQ-2897) JobSchedulerStore is not started unless a message requesting delayed delivery is added to the queue or a job list request is done in the admin console

     [ https://issues.apache.org/activemq/browse/AMQ-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-2897.
--------------------------------

         Assignee: Dejan Bosanac
    Fix Version/s: 5.4.1
       Resolution: Fixed

Fixed with svn revision 995016.

> JobSchedulerStore is not started unless a message requesting delayed delivery is added to the queue or a job list request is done in the admin console
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-2897
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2897
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.4.0
>         Environment: Ubuntu 10.04, Java1.6u20 64bit
>            Reporter: Arne Seime
>            Assignee: Dejan Bosanac
>             Fix For: 5.4.1
>
>         Attachments: activemq.log.1, activemq.log.2
>
>
> Problem: Job scheduler does not get started after broker restart.
> 1) Fire up the broker (using default config (bin/activemq console)
> 2) Start the client app (I'm using Mule)
> 3) Post a message to the queue with AMQ_SCHEDULED_DELAY set to some value (10000ms)
> 4) Shut down the broker
> 5) Fire up the broker again
> Expected behavior: The broker would start the job scheduler and fire off the job waiting
> Actual behavior: The job scheduler starts when 
> 1) a new message is posted to the queue with the AMQ_SCHEDULED_DELAY set
> 2) I click on the "Scheduled" link in the admin ui

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Resolved: (AMQ-2897) JobSchedulerStore is not started unless a message requesting delayed delivery is added to the queue or a job list request is done in the admin console

Posted by kseelam <kr...@hotmail.com>.
Hi

Are the Scheduled messages Persisted?  I don't see the Scheduled  messages
in my DB. But they do deliver  as per the schedule.  (If i don't restart the
broker in between)
But Looks like when i restart the broker the future Scheduled messages  are
gone. i.e. not exist, as they don't persist in the DB.
what is the correct behavior ? 

Thank you all.
Krishna
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/jira-Created-AMQ-2897-JobSchedulerStore-is-not-started-unless-a-message-requesting-delayed-delivery-e-tp2528427p3000715.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.