You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Aaron Riekenberg (JIRA)" <ji...@apache.org> on 2008/12/03 04:07:05 UTC

[jira] Updated: (AMQ-2023) BrokerViewMBean.removeQueue does not clean up advisory topics

     [ https://issues.apache.org/activemq/browse/AMQ-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Riekenberg updated AMQ-2023:
----------------------------------

    Attachment: TestSubscriber.java

> BrokerViewMBean.removeQueue does not clean up advisory topics
> -------------------------------------------------------------
>
>                 Key: AMQ-2023
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2023
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0, 5.2.0
>         Environment: Windows XP JDK 1.5, Ubuntu 8.10 JDK 1.6
>            Reporter: Aaron Riekenberg
>         Attachments: TestSubscriber.java
>
>
> Using BrokerViewMBean.removeQueue to remove a queue does not clean up advisory topics for the queue.
> It appears to be possible to manually remove advisory topics for the queue after the queue has been deleted using removeTopic, but this should not be necessary according to the documentation: http://activemq.apache.org/how-do-i-purge-a-queue.html
> Steps to reproduce (bug happens on 5.1.0 and 5.2.0):
> 1. Run TestSubscriber to create a queue named TestQueue.
> 2. Observe in JConsole that queue TestQueue and advisory topic ActiveMQ.Advisory.Consumer.Queue.TestQueue now exist.
> 3. In JConsole invoke removeQueue on the BrokerViewMBean with the parameter TestQueue.
> 4. Observe the queue TestQueue is removed, but the advisory topic ActiveMQ.Advisory.Consumer.Queue.TestQueue still exists.
> This also happens when invoking BrokerViewMBean.removeQueue programatically.  There are no message sent over TestQueue in the steps above, but this also appears to happen after messages have been sent over the queue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.