[ 
https://issues.apache.org/jira/browse/AMQ-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874446#comment-13874446
 ] 

Arthur Naseef commented on AMQ-4970:
------------------------------------

This is interesting - turned on DEBUG logging on 
org.apache.activemq.broker.region and found this:

{noformat}
2014-01-16 22:10:18,028 | DEBUG | localhost removing destination: queue://TEST2 
| org.apache.activemq.broker.region.AbstractRegion | ActiveMQ Transport: 
tcp:///127.0.0.1:49946@61616
2014-01-16 22:10:18,033 | DEBUG | localhost adding destination: 
topic://ActiveMQ.Advisory.Queue | 
org.apache.activemq.broker.region.AbstractRegion | ActiveMQ Transport: 
tcp:///127.0.0.1:49946@61616
2014-01-16 22:10:18,044 | DEBUG | localhost removing consumer: 
ID:Arthur-Naseefs-MacBook-Pro.local-49945-1389935417793-1:1:-1:1 for 
destination: ActiveMQ.Advisory.TempQueue,ActiveMQ.Advisory.TempTopic | 
org.apache.activemq.broker.region.AbstractRegion | ActiveMQ Transport: 
tcp:///127.0.0.1:49946@61616
2014-01-16 22:10:38,199 | DEBUG | queue://TEST2 expiring messages .. | 
org.apache.activemq.broker.region.Queue | ActiveMQ Broker[localhost] Scheduler
2014-01-16 22:10:38,201 | DEBUG | TEST2 toPageIn: 0, Inflight: 0, 
pagedInMessages.size 0, enqueueCount: 0, dequeueCount: 0 | 
org.apache.activemq.broker.region.Queue | ActiveMQ Broker[localhost] Scheduler
2014-01-16 22:10:38,203 | DEBUG | queue://TEST2 expiring messages done. | 
org.apache.activemq.broker.region.Queue | ActiveMQ Broker[localhost] Scheduler
{noformat}

Watching the contents of the db.redo file, I see the destination name removed, 
and then return.

> Deletion of a queue inaffective across broker restart
> -----------------------------------------------------
>
>                 Key: AMQ-4970
>                 URL: https://issues.apache.org/jira/browse/AMQ-4970
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.9.0
>         Environment: mac osx/mavericks
>            Reporter: Arthur Naseef
>         Attachments: AMQ4970Test.zip, AMQ4970Test.zip
>
>
> Deleting a queue, it is revived from persistent store after a broker restart. 
>  The following steps reproduce the problem:
> * Create a queue (confirmed using the REST client I/F)
> * Shutdown the broker
> * Startup the broker
> * Confirm queue still exists via the hawtio ui (correct operation so far)
> * Delete the queue
> * Confirm queue removed via the hawtio ui
> * Shutdown the broker
> * Startup the broker
> * Confirm queue was not recreated via hawtio ui (failed: queue still exists)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to