activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MaenXe <m...@docmagic.com>
Subject Re: 5.2, Problems Deleting a Queue
Date Tue, 13 Jan 2009 02:01:09 GMT

No, but this a part of a Network of Brokers.  I just tested on one of our AMQ
servers that is not on a network of brokers and the problem occurs there
too.  Here's the order of the test I just performed:

 1.) Login to the AMQ Web Console
 2.) Create a Queue using the Web Console
 3.) Use Ant to launch a producer and send a bunch of messages to the newly
created Queue
 3.) Use Ant to launch a consumer to recieve those messages.
 4.) Close both the producer and consumer(now 0 pending messages, non
persistent)
 5.) Delete the Queue from the Web Console
 6.) Restart the Broker, Queue reappears.
 7.) Delete Queue from Web Console one more time.
 8.) Use Ant to launch a consumer, presented with an error "User consumer is
not authorized to create: queue://Matt.Test" (I have security enabled to
disallow producers and consumers from lazily creating Queues or Topics.
 9.) Use Ant to launch a producer, should be presented with same error. 
Instead Broker accepts the messages. However, neither JMX or the Web Console
show this Queue in existence since the last delete.  10.) Restart the
broker, the Queue will reappear, empty.

M@



Timothy Bish wrote:
> 
> Are you removing the queue's with there are still attached consumers?
> 
> Regards
> Tim.
> 
> On Mon, 2009-01-12 at 17:07 -0800, MaenXe wrote:
>> Can anyone in this Forum help me out?  I would really like to know how to
>> properly delete these Queues, or find a workaround for this bug.
>> 
>> M@
>> 
>> 
>> MaenXe wrote:
>> > 
>> > I have a couple of Queues that I am unable to completely get rid of. 
>> If I
>> > delete the Queue either from JMX(using removeQueue) or from the Web
>> > Console the Queue will reappear after I restart the Broker.  Also, we
>> have
>> > Security implemented to block the lazy creation of Queues.  This Queue
>> was
>> > created manually through the Web Console.  Producers and Consumers are
>> not
>> > allowed to create a queue.  If I remove a queue using either of the two
>> > methods above, my producers are still allowed to produce messages,
>> however
>> > they seem to disappear into a void.  The messages are transacted, so I
>> > don't understand how the broker is accepting the message when the queue
>> > doesn't exist.  If I try to attach a consumer, it does not allow the
>> > consumer to create the non-existent queue, the Web Console and JMX both
>> > don't acknowledge the existence of the Queue, but the producer is
>> happily
>> > sending messages to somewhere.
>> > 
>> > All that said, what is the proper way to clean house and get rid of
>> these
>> > Queues?
>> > 
>> > Thanks in advance, this Forum has been very helpful with my other
>> issues.
>> > 
>> > M@
>> > 
>> > 
>> 
> -- 
> Tim Bish
> http://fusesource.com
> http://timbish.blogspot.com/
> 
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/5.2%2C-Problems-Deleting-a-Queue-tp21343108p21428087.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message