activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahlborn <jahlb...@gmail.com>
Subject how to permanently delete a queue
Date Wed, 15 Jan 2014 14:02:23 GMT
i'm trying to figure out how to permanently delete a queue.  i'm using
activemq 5.9.  i purge and delete the queue and everything looks fine. 
however, when i restart the server, the queue re-appears.  now, this is
mostly harmless for a normal queue as it just sits there empty.  however,
for a consumer queue for a virtual topic where the consumer is gone (for
good), this presents a problem.  since the topic is still active, the
consumer queue will start accumulating new messages but there is no longer a
consumer removing them so the queue starts to fill up.  i've seen the "gc if
inactive" feature, but in this case, the queue will not be inactive as the
underlying topic is still active.  i've also seen recommendations about
setting timeouts on messages to avoid filling inactive queues, but that
seems more like a hack than a solution (not to mention that it changes the
functionality of the application).  this seems like a pretty straightforward
situation (deleted queues staying deleted), so i'm confused why this seems
so complicated.  failing any of this, is there some way i could audit queue
creation on startup and avoid creating queues which are empty?



--
View this message in context: http://activemq.2283324.n4.nabble.com/how-to-permanently-delete-a-queue-tp4676305.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message