No, there can be as many listeners as you want. but message will be
delivered to exactly on subscriber. And who will get the message is not
defined.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cheers
Ashwani Kalra
Sr. Mem. Dev. Staff
Aithent Technologies
India
http://www.geocities.com/ashwani_kalra/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Alvin Wang
Sent: Thursday, February 28, 2002 8:24 PM
To: [EMAIL PROTECTED]
Subject: Can one queue have multiple comsumers?


Hi! If I setup multiple MDB listening to the same queue, is it possible?
what will happen? Will they race against each other? Or one will override
the others? Or all the listener will receive the message whenever there is
one available (same as pub/sub)? And can I also use selector to let the MDB
select there own messages exclusively?

Thanks!

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to