Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E0AE94C44 for ; Wed, 8 Jun 2011 19:08:54 +0000 (UTC) Received: (qmail 90270 invoked by uid 500); 8 Jun 2011 19:08:54 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 90239 invoked by uid 500); 8 Jun 2011 19:08:54 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 90231 invoked by uid 99); 8 Jun 2011 19:08:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 19:08:54 +0000 X-ASF-Spam-Status: No, hits=-1.0 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of JEREMIAH.JORDAN@morningstar.com designates 216.228.224.32 as permitted sender) Received: from [216.228.224.32] (HELO mx85.morningstar.com) (216.228.224.32) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 08 Jun 2011 19:08:49 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Expiry of messages in activemq Date: Wed, 8 Jun 2011 14:08:38 -0500 Message-ID: <05CEA178DD88EE4FA89EED77C245F8490F9D770C@msex85.morningstar.com> In-Reply-To: <1307510153203-3581641.post@n4.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Expiry of messages in activemq Thread-Index: AcwlmzXkN2TLwJaVSgaay+jZM6Hc9gAdBYRQ References: <1307510153203-3581641.post@n4.nabble.com> From: "Jeremiah Jordan" To: No. They get expired the next time someone asks for a message from that queue. So if you have a lot of messages which expired, the client is going to be waiting for some time to get its first message while the expired ones are taken out of the queue.=20 -----Original Message----- From: agujral [mailto:anurag_gujral@yahoo.com]=20 Sent: Wednesday, June 08, 2011 12:16 AM To: dev@activemq.apache.org Subject: Expiry of messages in activemq Hi All, I want to understand how activemq handles expiry of messages, is there a seperate thread which checks asynchronously if message has expired. thanks Anurag -- View this message in context: http://activemq.2283324.n4.nabble.com/Expiry-of-messages-in-activemq-tp3 581641p3581641.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.