1Z0-599 · Question #51
A customer has a Stock Watch application that publishes stock recommendations to different customers and programs. The stock recommendation message should be processed by only one of the JMS Servers…
The correct answer is A. JMS Queue. A staging area that contains messages that have been sent and are waiting to be read. Note that, contrary to what the name queue suggests, messages don't have to be delivered in the order sent. A JMS queue only guarantees that each message is processed only once. Not B: (Only…
Question
A customer has a Stock Watch application that publishes stock recommendations to different customers and programs. The stock recommendation message should be processed by only one of the JMS Servers in the cluster. Which JMS model should be used?
Options
- AJMS Queue
- BDistributed JMS Queue
- CUniform Distributed Topic
- DPartitioned Distributed Topic
How the community answered
(57 responses)- A77% (44)
- B7% (4)
- C4% (2)
- D12% (7)
Explanation
A staging area that contains messages that have been sent and are waiting to be read. Note that, contrary to what the name queue suggests, messages don't have to be delivered in the order sent. A JMS queue only guarantees that each message is processed only once. Not B: (Only one queue required) * A distributed destination is a set of destinations (queues or topics) that are accessible as a single, logical destination to a client. A distributed destination has the following characteristics: It is referenced by its own JNDI name. Members of the set are usually distributed across multiple servers within a cluster, with each destination member belonging to a separate JMS server. * A distributed queue is a set of physical JMS queue members. As such, a distributed queue can be used to create a QueueSender, QueueReceiver, and a QueueBrowser. The fact that a distributed queue represents multiple physical queues is mostly transparent to your application. A distribution mechanism for publishing messages that are delivered to multiple subscribers.
Topics
Community Discussion
No community discussion yet for this question.