Oracle
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…
Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #87. The question stem and answer options stay visible for context.
JMS and Message-Driven Beans
Question
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 proposals will be calculated: car and life. Message with data for other insurance types are posted on the queue but should be left on the queue by this implementation. Which statement is true?
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
Unlock 1Z0-895 to see the answer
You've previewed enough free 1Z0-895 questions. Unlock 1Z0-895 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#JMS message selector#message filtering#header properties#queue consumer