activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack1011 <llian...@hotmail.com>
Subject Re: Exclusive Consumer
Date Wed, 30 Aug 2006 13:53:00 GMT

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.


Mime
View raw message