Thanks for quick responce It sound's to me that user can create multiple(exclosive) consumers, but first created consumer only will get messages right? Is there any way to prevent to create consumer and log the user saying "warning:trying to have multiple consumer" Because in the above method user will see problem only by knowing that 2nd consumer not getting messages.
Raju James.Strachan wrote: > > 2009/7/21 Raju Narayan <gnara...@unidesk.com>: >> >> Hello, >> >> In my modules interaction scinario we defined only one consumer will >> exist >> per MQ, So How to prevent/query that consumer already exists for given >> MQ. >> So That I can prevent Creating consumers for MQ using NMS(C# .net >> client). > > Using Exclusive Consumers ensures that only one consumer is active on > any queue at any point in time. > http://activemq.apache.org/exclusive-consumer.html > > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://fusesource.com/ > > -- View this message in context: http://www.nabble.com/How-to-restrict-MQ-shall-have-only-one-consumer-tp24584819p24586544.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.