• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Section 3: 3: Integration and Messaging - Objective 3.3

 
Mirko Bernardini
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Benoît de Chateauvieux
Ranch Hand
Posts: 183
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with you: you don't need message selector.
So good choice is D "topic without message selectors"...
 
Amandeep Singh
Ranch Hand
Posts: 850
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i too agree.
 
Mirko Bernardini
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The correct answer in my simulator is D (without any explanation), for me the correct answer is C !


Yes we right !!! in effect I inversed the letters on the post... I was sleeping
The correct answer in my simulator is C (without any explanation), for me the correct answer is D !

However thanksssssssss

Mirko
 
J J Wright
Ranch Hand
Posts: 254
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see you're using the Sun ePractice exams. Take a look at this
 
J J Wright
Ranch Hand
Posts: 254
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using the Sun ePractice exams, this thread may also be of interest to you.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic