You are working with JMS publish-subscribe operations.
What happens when a producer publishes a message to a topic for which a durable subscription exists but there are no subscribers available?
You are working with JMS publish-subscribe operations.
What happens when a producer publishes a message to a topic for which a durable subscription exists but there are no subscribers available?
When a producer publishes a message to a topic with a durable subscription and no subscribers are available, the message is successfully sent and will be held by the topic. It will be consumed later when a subscriber connects, provided that the message has not expired. This ensures that the subscribers don’t miss any messages even if they were temporarily offline.
Answer C