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

Rob Davies resolved AMQ-2023.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 5.3.0
         Assignee: Rob Davies

same problem as https://issues.apache.org/activemq/browse/AMQ-1255

> 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
>            Assignee: Rob Davies
>             Fix For: 5.3.0
>
>         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.

Reply via email to