activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <ja...@planet57.com>
Subject Re: Virtual topic subscriber expiration?
Date Thu, 05 Jan 2012 00:29:15 GMT
On Jan 4, 2012, at 4:36 AM, Dejan Bosanac wrote:
> There's no explicit setup for that as those are just regular queues from
> which no one consumes. The simple manual solution is to just delete unused
> queues and virtual topic will stop sending messages there
> 
> Some things you can do to automate this process is:
> 
> - set expiry on the messages you're sending so that those queues don't keep
> messages
> - try deleting inactive destinations as described here -
> http://activemq.apache.org/delete-inactive-destinations.html
> 
> Note that deleting inactive destinations assumes that there are no
> consumers, producers and messages in a certain queue for some time, so this
> might not work if your destinations are high-volume (as messages will live
> in the queue for some time). Perhaps one of the improvements in this area
> is to allow to delete queues which just don't have consumers for some time
> and ignore message count.

I think inactive destination removal is going to be fine for my use-case.

Thanks a lot for the detail :-)  

--jason


Mime
View raw message