You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "ying (JIRA)" <ji...@apache.org> on 2009/05/05 16:02:40 UTC

[jira] Updated: (AMQ-1998) Cannot delete Queue via JMX or admin console

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

ying updated AMQ-1998:
----------------------

    Attachment: AMQ-1998.patch

if you are using the default persistenceAdapter, the AMQ-1998.patch will fix the removeQueue command issued from jconsole.

Beware that this command is per broker, which means that it will not propagate to other broker in a network of brokers or to the slave if there is one for this broker.

> Cannot delete Queue via JMX or admin console
> --------------------------------------------
>
>                 Key: AMQ-1998
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1998
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0, 5.2.0
>         Environment: Windows XP SP2
> JDK 1.5.0_11
>            Reporter: Sherif Behna
>             Fix For: 5.3.0
>
>         Attachments: AMQ-1998.patch
>
>
> When I delete a queue via JMX and the admin console and restart the broker, the queue is still present. 
> Here are the precise steps to reproduce the problem : 
> 1. Start the broker
> 2. Started jconsole 
> 3. With the Broker MBean, create a queue named "JMX.queue" (addQueue operation)
> 4. With this queue's MBean, send a text message (sendTextMessage operation)
> 5. With the Broker MBean, remove the queue (removeQueue operation). The queue's MBean is also deleted. 
> 6. Restart the broker. 
> 7. When reconnecting with JConsole, the queue's MBean is still present. 
> This is also the case with the Web admin console. 
> I'm using the default config of the 5.1.0 distribution. 

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