Exam 1z0-900 All QuestionsBrowse all questions from this exam
Question 26

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?

    Correct Answer: C

    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.

Discussion
orjavaOption: C

Answer C