Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 18557 invoked from network); 7 Feb 2007 20:22:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Feb 2007 20:22:38 -0000 Received: (qmail 85734 invoked by uid 500); 7 Feb 2007 20:22:44 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 85717 invoked by uid 500); 7 Feb 2007 20:22:44 -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 85708 invoked by uid 99); 7 Feb 2007 20:22:44 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 12:22:44 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of rajdavies@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Feb 2007 12:22:33 -0800 Received: by ug-out-1314.google.com with SMTP id m3so285079ugc for ; Wed, 07 Feb 2007 12:22:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=Xd5oqUIGtST7pNbNQOwVLCCq4cOR41b7DPEnaScn+rBR6DbYkeCinSJ7M/H4aF9kryvmX9o4nbeyqhI9Uq1Kfg0OiY7pA3/nQlJP9JigmtYomQ3XBh/C7uer51FvPTQ5KSFYP7nV0n7U7RQMc2SQuvnEJW3t4GMkw2GO55R0f4M= Received: by 10.82.188.15 with SMTP id l15mr249684buf.1170879721117; Wed, 07 Feb 2007 12:22:01 -0800 (PST) Received: from ?192.168.15.105? ( [81.129.215.163]) by mx.google.com with ESMTP id i39sm1832566ugd.2007.02.07.12.21.58; Wed, 07 Feb 2007 12:21:59 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <5BD9FA70F5EDAC43AB816A5FDE30F6AC0392E069@xmb-sjc-21a.amer.cisco.com> References: <5BD9FA70F5EDAC43AB816A5FDE30F6AC0392E069@xmb-sjc-21a.amer.cisco.com> Content-Type: multipart/alternative; boundary=Apple-Mail-8--701023346 Message-Id: From: Rob Davies Subject: Re: active mq (size of the internal data structure and expiration of messages) Date: Wed, 7 Feb 2007 20:21:44 +0000 To: users@activemq.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-8--701023346 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On 7 Feb 2007, at 19:38, Suchitha Koneru ((sukoneru)) wrote: > Hello Active Mq Users , > I am using Publish/subscribe model for > transfer of > messages with durable subscriptions. I suppose that active mq > internally stores messages using queue or a similar data structure. yes it does. For Durable Subscribers, there is one queue for the messages, and for each subscriber a queue of references, one reference, per message for each subscriber. When there are no more interested subscribers in the message, it will be removed from the message queue. > > I was just wondering about the size of this queue maintained > internally > by Active MQ. Does it overflow ? How will we know, what it's capacity > is ? > Any insight in regard to this ? We support a lot of different storage options, and although we expose the depth (cardinality) of the queue, as yet, we do not provide a generic mechansim for imposing limits on the durable messages. > Also , the messages place in this internal queue will be > discarded , > once they expire ? What is the time frame , within which they have to > be consumed ? is there a way to determine this? Messages are generally discarded when they expire. Some storage options only do this when fetching the messages (check to see if the message should be expired) - others do it periodically (this will become the norm for all message stores). cheers, Rob Davies http://rajdavies.blogspot.com/ > > thanks, > Suchitha --Apple-Mail-8--701023346--