Re: exception and exclusive queue

2009-03-25 Thread mffrench
Your soluction seems to be a good one. I created the JIRA here : https://issues.apache.org/activemq/browse/AMQ-2181 Gary Tully wrote: > > Sounds reasonable, a variant of the exclusive consumer that is limited to > one consumer would do it. Please raise a JIRA issue for this enhancement. > > Con

Re: exception and exclusive queue

2009-03-25 Thread Gary Tully
Sounds reasonable, a variant of the exclusive consumer that is limited to one consumer would do it. Please raise a JIRA issue for this enhancement. Consider how it should be configured. Possibly it requires an additional count attribute that limits the number of consumer that can wait for the excl

Re: exception and exclusive queue

2009-03-24 Thread mffrench
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 d

Re: exception and exclusive queue

2009-03-24 Thread Gary Tully
That is by design, the doc on exclusive consumers explains the rational and the J2EE use case. What is your use case? 2009/3/23 mffrench > > Hello, > > There is no exception raised when I open a jms consumer on an exclusive > queue which is al

Re: exception and exclusive queue

2009-03-24 Thread mffrench
do I need to raise a JIRA ? thanks ... mffrench wrote: > > 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 > cl