I'm training with a simulator and I received this question:
Your application sends three messages with no delivery failures to a JMS destination, where two consumers consume messages from the destination.
How do both consumers ensure they receive all messages?
A. Consumers listen to a JMS queue without message selectors.
B. Consumers listen to a JMS queue with message selectors.
C. Consumers subscribe to a JMS topic with message selectors.
D. Consumers subscribe to a JMS topic without message selectors.
The correct answer in my simulator is D (without any explanation), for me the correct answer is C !
If I must receive all the messages I don't need a message selector, what do you think ?
Which is the correct answer ?
Thanks
M.