That seems to be working. Thanks.

Adrian Co wrote:
> 
> Hi,
> 
> I haven't tried it, but maybe you can set it in the jndi.properties file.
> 
> e.g.
> queue.MyQueue = example.MyQueue?consumer.exclusive=true
> 
> Let me know how it goes. :)
> 
> 
> Jack1011 wrote:
>> I saw the example to create Exclusive Consumer as below.
>> queue = new ActiveMQQueue("TEST.QUEUE?consumer.exclusive=true");
>> If I use JNDI, how do I do?
>> initialContext.lookup("TEST.QUEUE?consumer.exclusive=true") does not
>> work.
>>
>> Any idea? Thanks in advance.
>>   
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Exclusive-Consumer-tf2187362.html#a6059416
Sent from the ActiveMQ - User forum at Nabble.com.

Reply via email to