1Z0-895 · Question #87
A developer impalements an asynchronous implementation for calculating insurance proposals. The input data for the calculations is made available on a single message queue. Two types of insurance…
The correct answer is D. The developer can use a messageSelector to receive only the car and life data message if the header. A JMS message selector allows a client to specify, by header field references and property match the selector are delivered. What it means for a message not to be delivered depends on the MessageConsumer being used (see QueueReceiver and TopicSubscriber). javax.jms Interface…
Question
Options
- AThe developer will NOT succeed because all messages will be consumed from the queue.
- BThe developer can implement a push-back mechanism if the message is of the wrong type.
- CThe developer can use a messageSelector to receive only the car and life data message if the JMS body
- DThe developer can use a messageSelector to receive only the car and life data message if the header
How the community answered
(39 responses)- A10% (4)
- B5% (2)
- C3% (1)
- D82% (32)
Explanation
A JMS message selector allows a client to specify, by header field references and property match the selector are delivered. What it means for a message not to be delivered depends on the MessageConsumer being used (see QueueReceiver and TopicSubscriber). javax.jms Interface Message
Topics
Community Discussion
No community discussion yet for this question.