Why do I not receive messages on my durable topic subscription
FAQ > Errors > Why do I not receive messages on my durable topic subscription
You follow these steps
- Create a durable topic subscription
- Kill the consumer
- Publish some messages to the topic
- Restart the subscriber
But you don’t receive the messages?
Fix
To be able to deliver messages to offline durable topic subscribers you must mark the message as being persistent. To do this set the PERSISTENT_DELIVERY mode on the MessageProducer as described here.