I have a test program. Which posts two messages successively on a queue. There is a listener on the queue which waits for 10 seconds after receiving the first message. Message are durable.
Steps 1)Program started. 2)Both the messages are posted to JMS provider and JMS provider sends the first message to listener. 3)Listener receives the message and waits. 4)Now second message is not delivered to JMS listener as listener is already busy, I shutdown the test program. 5)Second message is persisted in activemq_msgs table. 6)Remove the wait step from listener and disable message posting. 7)Now restart the test program. I see that the last undelivered message is not sent to listener. Could somebody help :Sanjeev. -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMq-5-4-Pending-messages-not-delivered-to-listener-after-jvm-restart-tp3874017p3874017.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.