activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From artnaseef <>
Subject Re: I want a queue allows only one consumer , can I do that ?
Date Thu, 23 Jan 2014 04:03:41 GMT
There is an option with ActiveMQ for exclusive consumption like this:

queue = new ActiveMQQueue("TEST.QUEUE?consumer.exclusive=true");

For more details, see here:

This does not force close an existing consumer on connecting a new one

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message