-
1. Re: auto delete of queues
unficyp Aug 8, 2012 5:27 PM (in response to unficyp)To be more specific:
I need a way to delete a queue after a consumer didn't receive from the queue after a specified time.
Is there a build in mechanism to achieve this ?
thanks,
gw
-
-
3. Re: auto delete of queues
gaohoward Aug 16, 2012 7:55 AM (in response to unficyp)I don't think there is such a mechanism in HornetQ. Why not delete the queue yourself, considering that it is not so hard a logic to implement?
Howard
-
4. Re: auto delete of queues
jbertram Aug 16, 2012 11:31 AM (in response to unficyp)1 of 1 people found this helpfulTo my knowledge there is no feature in HornetQ which will do this for you. It is an interesting feature, though - a queue TTL (time to live). If we were to add such a feature we'd probably want to generalize it a bit to make it useful outside your specific use-case. For example:
- Ability to configure an absolute TTL or a dynamic TTL based on some other criteria.
- Ability to define the criteria to use for the dynamic TTL (e.g. when a message is consumed from the queue, when a message is produced to the queue, etc.).
It's not a terribly simple feature. If you want us to consider it further please open a JIRA describing exatly what you need and the use-case you're attempting to address (or perhaps just reference this thread if is has everything).
-
5. Re: auto delete of queues
unficyp Aug 17, 2012 4:30 AM (in response to jbertram)Thanks, i opened https://issues.jboss.org/browse/HORNETQ-1009 in JIRA