my use case is one consumer per queue, that's why I would like to close any
other consumer if the resource is locked ... I think this is a really simple
use case, isn't it ? I must say I've some difficulties to understand
rational and J2EE use case ...

thanks


Gary Tully wrote:
> 
> That is by design, the doc on exclusive consumers
> <http://activemq.apache.org/exclusive-consumer.html> explains the rational
> and the J2EE use case.
> What is your use case?
> 
> 2009/3/23 mffrench <mffre...@axway.com>
> 
>>
>> Hello,
>>
>> There is no exception raised when I open a jms consumer on an exclusive
>> queue which is already locked by another consumer ? The second consumer
>> does
>> not receive any messages but I would like to get an exception to close it
>> naturally... How is this possible ?
>>
>> Thanks
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/exception-and-exclusive-queue-tp22663885p22663885.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source SOA
> http://FUSESource.com
> 
> 

-- 
View this message in context: 
http://www.nabble.com/exception-and-exclusive-queue-tp22663885p22686784.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to