Hi

I am using activemq 5.8 libraries .
So when I restart the broker , why are not the scheduled messages getting
enqueued after a restart .

I am attaching restart logs if it helps .

I can see this before restart
 2013-04-17 01:10:35,225 [70.34:1747@9006] DEBUG JobSchedulerImpl
    - Scheduling Job [id=ID:test-system-1568-1366175231554-5:2:1:1:1,
startTime=Wed Apr 17 01:10:35 EDT 2013, delay=60000, period=0, repeat=0,
nextTime=Wed Dec 31 19:00:00 EST 1969]

and I do see this after restart
 2013-04-17 01:24:17,335 [obScheduler:JMS] DEBUG JobSchedulerImpl
    - Firing Job [id=ID:test-system-1568-1366175231554-5:2:1:1:1,
startTime=Wed Apr 17 01:10:35 EDT 2013, delay=60000, period=0, repeat=0,
nextTime=Wed Apr 17 01:11:35 EDT 2013]

But they never enter activemq_msgs , I have no listeners waiting for the
message , so ideally they should enter activemq_msgs and sit there till
consumed .

Thanks
Joy


On Wed, Apr 17, 2013 at 9:26 AM, ceposta [via ActiveMQ] <
ml-node+s2283324n4665990...@n4.nabble.com> wrote:

> The scheduler store will use KahaDB based store regardless of the
> persistence adapter you're using for your messaging store. What version
> are
> you using?
>
>
> On Tue, Apr 16, 2013 at 7:30 PM, Joy <[hidden 
> email]<http://user/SendEmail.jtp?type=node&node=4665990&i=0>>
> wrote:
>
> > Hi
> >
> > I am sending a persistent message to broker as below
> >
> > txtMessage.setLongProperty(ScheduledMessage.AMQ_SCHEDULED_DELAY,
> > delayInSeconds * 1000);
> > producer.setDeliveryMode(DeliveryMode.PERSISTENT);
> >
> > I sent a message with delay of 5 mins , and then I restarted the broker
> > immediately
> > Due to some reason , the messages are lost and they never get posted
> after
> > broker restart .
> >
> > My broker is using jdbcPersistenceAdapter . Am I missing something here
> ?
> >
> > Thanks
> > Joy
> >
> >
> >
> > --
> > View this message in context:
> >
> http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>
>
>
> --
> *Christian Posta*
> http://www.christianposta.com/blog
> twitter: @christianposta
>  http://www.christianposta.com/blog
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977p4665990.html
>  To unsubscribe from Are Scheduled Messages persistent ?, click 
> here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4665977&code=cm95Lm1yaXR5dW5qb3lAZ21haWwuY29tfDQ2NjU5Nzd8LTExMDI3NDY2ODE=>
> .
> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


activemqlog_debug.txt (55K) 
<http://activemq.2283324.n4.nabble.com/attachment/4666002/0/activemqlog_debug.txt>




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Are-Scheduled-Messages-persistent-tp4665977p4666002.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to