Red Hat Bugzilla – Bug 453536
Support for ttl and message expiration
Last modified: 2009-02-04 10:35:14 EST
If a ttl is set messages should be expired from queues after the desired time.
*** Bug 448589 has been marked as a duplicate of this bug. ***
Committed final part of this (for now at least!) in r704461. Tests exist in c++ and python (cpp/src/tests/ClientSessionTest::testExpirationOnPop and cpp/src/tests/ClientSessionTest::testPeriodicExpiration and python/tests_0-10/message/test_ttl).
Messages are checked for expiry before dispatching them to subscribers. Epired messages are dropped on dequeue and periodically all expired messages are expunged unless the rate of dequeues since last purge is higher than one per second). The rate of the periodic purging of expired messages can be configured via the --queue-clean-interval option to qpidd.
C++ tests mentioned above exists and passing.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.