have a read of the comments on https://issues.apache.org/jira/browse/AMQ-1112 to get some more insight.
there is now an expiry task that periodically checks for expiry, along with the checks on send and dispatch On 23 July 2012 13:09, ByteFlinger <[email protected]> wrote: > I am trying to find out information on how activeMQ handles expiration but it > has been difficult to find details. > > I found some old threads that mention that there is no constant process in > activeMQ which moves expired messages from a queue to activeMQ.DLQ but only > when messages are read/written to that queue but I also have read > http://activemq.apache.org/manage-durable-subscribers.html here that there > seems to, maybe, be a way to tell activeMQ to, every x seconds, look for > expired messages. > > My own tests seem to show that, most of the time, only when the queue is > read (not written to) the expiration will happen however sometimes some > messages expire without anything happening. > > Can anybody shed some light on the issue? How and when does activeMQ check > for expired messages and moves them from a queue to activeMQ.DLQ queue? > > Regards > Byte > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-does-activeMQ-handles-expiration-tp4654246.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com
