From activemq-users-return-4266-apmail-geronimo-activemq-users-archive=geronimo.apache.org@geronimo.apache.org Mon Sep 04 07:26:12 2006 Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 38888 invoked from network); 4 Sep 2006 07:26:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 07:26:12 -0000 Received: (qmail 14123 invoked by uid 500); 4 Sep 2006 07:26:11 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 14107 invoked by uid 500); 4 Sep 2006 07:26:11 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 14098 invoked by uid 99); 4 Sep 2006 07:26:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 00:26:11 -0700 X-ASF-Spam-Status: No, hits=2.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of james.strachan@gmail.com designates 66.249.82.229 as permitted sender) Received: from [66.249.82.229] (HELO wx-out-0506.google.com) (66.249.82.229) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Sep 2006 00:26:10 -0700 Received: by wx-out-0506.google.com with SMTP id i27so1789192wxd for ; Mon, 04 Sep 2006 00:25:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EfajVdb6Y5xocxG1pxwTjBLPL47Fv5fl9TRGqcwblTI7k2jfxnUQaBvr7xG2GpfdIQiryHAQzI9B9avzA3rojLwvhHk8sTFuoOy5L/5wZumonZI3kUV5FW9mG0rEoLgNuTZNpfV11wlbTmhJ7Ess1IYyeK2I9kYXnUP6CvlbToM= Received: by 10.90.63.16 with SMTP id l16mr1055315aga; Mon, 04 Sep 2006 00:25:50 -0700 (PDT) Received: by 10.90.86.4 with HTTP; Mon, 4 Sep 2006 00:25:49 -0700 (PDT) Message-ID: Date: Mon, 4 Sep 2006 08:25:49 +0100 From: "James Strachan" To: activemq-users@geronimo.apache.org Subject: Re: is there a way to check if a queue has been modified ? In-Reply-To: <6031075.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6031075.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 8/29/06, StanleyH wrote: > > Hi, is there a way to check if a queue has been modified since last checked? You can use the MBeans to look at the enqueue/dequeue counters and if they change, then messages have been enqueue/dequeued. (i.e. the queue has been modified) -- James ------- http://radio.weblogs.com/0112098/