Bug 453536 - Support for ttl and message expiration
Support for ttl and message expiration
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp (Show other bugs)
All Linux
urgent Severity medium
: 1.1
: ---
Assigned To: Gordon Sim
Kim van der Riet
: 448589 (view as bug list)
Depends On:
Blocks: 471311
  Show dependency treegraph
Reported: 2008-07-01 04:53 EDT by Gordon Sim
Modified: 2009-02-04 10:35 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-02-04 10:35:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gordon Sim 2008-07-01 04:53:10 EDT
If a ttl is set messages should be expired from queues after the desired time.

See https://issues.apache.org/jira/browse/QPID-528
Comment 1 Gordon Sim 2008-10-02 11:08:05 EDT
*** Bug 448589 has been marked as a duplicate of this bug. ***
Comment 2 Gordon Sim 2008-10-14 07:22:03 EDT
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.
Comment 4 Frantisek Reznicek 2008-11-24 10:07:35 EST
C++ tests mentioned above exists and passing.
Feature implemented.
Comment 6 errata-xmlrpc 2009-02-04 10:35:14 EST
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.


Note You need to log in before you can comment on or make changes to this bug.