[
https://issues.apache.org/jira/browse/ARTEMIS-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martyn Taylor updated ARTEMIS-566:
----------------------------------
Fix Version/s: (was: 2.0.0)
2.next
> Cannot remove JMS queue that has been removed from Core side
> ------------------------------------------------------------
>
> Key: ARTEMIS-566
> URL: https://issues.apache.org/jira/browse/ARTEMIS-566
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.2.0, 1.3.0
> Reporter: Ville Skyttä
> Priority: Minor
> Fix For: 2.next
>
>
> If a queue that has been created from the JMS side is removed from the Core
> side in JMX, a phantom JMS queue is left behind which cannot be removed.
> 1) Start jconsole, connect to artemis
> 2) Navigate in mbeans to org.apache.activemq.artemis -> Broker -> 0.0.0.0 ->
> JMS -> Server -> Operations
> 3) Invoke createQueue TestQueue
> 4) Navigate to org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> Core, note
> that jms.queue.TestQueue is in both Address and Queue
> 5) Navigate to org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> Core ->
> Server -> Operations
> 6) Invoke destroyQueue TestQueue
> 7) Note that jms.queue.TestQueue disappears from Address and Queue from
> org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> Core (as expected)
> 8) Navigate to Navigate in mbeans to org.apache.activemq.artemis -> Broker ->
> 0.0.0.0 -> JMS -> Queue
> 9) Note that TestQueue is still listed
> 10) Try to remove it with destroyQueue TestQueue from
> org.apache.activemq.artemis -> Broker -> 0.0.0.0 -> JMS -> Server ->
> Operations
> 11) Get ActiveMQNonExistentQueueException, and the queue is not removed
> A workaround is to restart artemis, that results in the Core side queue
> becoming visible again, and then step 10) succeeds.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)