But there a confusion in lernen.2007's previous reply message that he could reproduce the problem
How can a producer get messages when you shutdown a consumer. The description of the problem is "When a consumer is active and eagerly looking for messages, AMQ queues won't deliver messages that were pending". But here you are shutting down the consumer, and I think it is obvious that the exception of "No subscription exists". When there is no consumer who can receive the messages, they are obviously in PENDING state. If I am wrong...Please correct me. Thank You, Nag. -- View this message in context: http://activemq.2283324.n4.nabble.com/Messages-stuck-in-queue-tp3244342p3447408.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.