Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A03D99805 for ; Mon, 23 Jul 2012 12:10:19 +0000 (UTC) Received: (qmail 48746 invoked by uid 500); 23 Jul 2012 12:10:19 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 48497 invoked by uid 500); 23 Jul 2012 12:10:18 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 48432 invoked by uid 99); 23 Jul 2012 12:10:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 12:10:16 +0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of byteflinger@gmail.com) Received: from [216.139.250.139] (HELO joe.nabble.com) (216.139.250.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jul 2012 12:10:09 +0000 Received: from [192.168.236.139] (helo=joe.nabble.com) by joe.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1StHSO-0001kM-Fp for users@activemq.apache.org; Mon, 23 Jul 2012 05:09:48 -0700 Date: Mon, 23 Jul 2012 05:09:48 -0700 (PDT) From: ByteFlinger To: users@activemq.apache.org Message-ID: <1343045388457-4654246.post@n4.nabble.com> Subject: How does activeMQ handles expiration? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.