Only if they had reached their JMSExpiration date, or if there's a consumer on the failover host that tries and fails to consume them. Otherwise, they will continue to be available on the queue.
On Wed, Apr 6, 2016 at 5:03 PM, Natarajan, Rajeswari < rajeswari.natara...@sap.com> wrote: > Hi, > > I am testing activemq master slave config using shared file system. > > 1) I issued 1 message to a queue and I saw that in both pending message > count and enqueued count. The message was not dequeued. > > 2)Killed the master ,the secondary took over ,in secondary's webconsole I > see that > > Messages dequeued as 1 > > And in the ActiveMQ.DLQ I see 1 pending message and 1 enqueued message. > > > So in case of failover ,the pending/unacknowledged messages go to DLQ and > never get processed ? > > > Thank you, > Rajeswari >