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

  1. Create a durable topic subscription
  2. Kill the consumer
  3. Publish some messages to the topic
  4. 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.

Apache ActiveMQ, ActiveMQ, ActiveMQ Artemis, Apache, the Apache feather logo, and the Apache ActiveMQ project logo are trademarks of The Apache Software Foundation. Copyright © 2019, The Apache Software Foundation. Licensed under Apache License 2.0.