@Ravi ,
I’m even more convined you don’t want a durable topic endpoint.
Use a topic instead. All the up applications will subscribe to the topic, and will receive the notification to stop processing. The beauty of this is that it doesn’t matter how many applications are up, all those that are up will receive the message.
A durable topic endpoint is a JMS artefact that allows you to subscribe to a topic and persist the messages. You don’t need persistence and you don’t need JMS. What you need is a subscription in the applications that listens for the stop consuming message.
@marc.dipasquale , what’s the best spring sample for a topic subscriber?