activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joy <roy.mrityun...@gmail.com>
Subject Are Scheduled Messages persistent ?
Date Wed, 17 Apr 2013 02:30:34 GMT
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.

Mime
View raw message