Oracle Java EE 7 Application Developer 1z0-900 Question # 1 Topic 1 Discussion

Oracle Java EE 7 Application Developer 1z0-900 Question # 1 Topic 1 Discussion

1z0-900 Exam Topic 1 Question 1 Discussion:
Question #: 1
Topic #: 1

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?


A.

The publisher waits for a subscriber, who then consumes it. However, the publisher will time out if no consumer arrives within the given timeout period.


B.

The publisher sends the message. However, it is never consumed because there wasn’t anything listening when it arrived, regardless of the message timeout length.


C.

The publisher successfully sends a message, which will be consumed later, once there is a subscriber, assuming the message hasn’t timed out.


D.

The message publisher is immediately notified about the lack of subscribers and can decide for itself if, and when, to resend.


Get Premium 1z0-900 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.