That could maybe filter into a bounded queue feature. If the dlq is bounded by time, if head of the queue is X milliseconds old drop it. A bounded queue, bounded by size, memory usage, disk usage or time is a very useful concept.
On Tue, 14 Nov 2017 at 19:37 Clebert Suconic <[email protected]> wrote: > Feel free to add a JIRA though. > It’s probably an easy fix. > > On Tue, Nov 14, 2017 at 1:20 PM Justin Bertram <[email protected]> > wrote: > > > The functionality you're looking for isn't directly supported in Artemis, > > although you could probably solve the issue with a broker plugin [1]. > Feel > > free to open a "New Feature" JIRA [2] if you like. > > > > > > Justin > > > > [1] http://activemq.apache.org/artemis/docs/latest/broker-plugins.html > > [2] https://issues.apache.org/jira/projects/ARTEMIS > > > > On Tue, Nov 14, 2017 at 12:12 PM, cnadukula <[email protected]> wrote: > > > > > Hi > > > > > > We are using apache artemis version : 2.3.0 and wanted to see if there > is > > > any setting that we can provide so after a certain period the dead > Letter > > > queue is purged automatically? I noticed Apache ActiveMQ has a setting > > > called <deadLetterStrategy> where we can discard DLQ messages after a > > > certain period of time or set an expiry date for those messages. Is > > there a > > > way we can do that for Artemis, perhaps a setting in broker.xml? > > > > > > thanks, > > > Chandra > > > > > > > > > > > > -- > > > Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev- > > > f2368404.html > > > > > > -- > Clebert Suconic >
