Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 77124 invoked from network); 8 Sep 2010 12:51:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 12:51:44 -0000 Received: (qmail 27562 invoked by uid 500); 8 Sep 2010 12:51:43 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 27438 invoked by uid 500); 8 Sep 2010 12:51:41 -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 27428 invoked by uid 99); 8 Sep 2010 12:51:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 12:51:40 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of tsnell@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 12:51:31 +0000 Received: by gxk6 with SMTP id 6so5185325gxk.2 for ; Wed, 08 Sep 2010 05:51:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=W9RaJBTZiRw8phG3cBRyb2zsqnZgLFu6mE0ZUWcH1OU=; b=hRgma1yY65WgVpTOTHo2rWIzPAHk8zfJjuML3Ks8sNkVR2taSGz3G+y9MYqY5xZQiT kcNrLDVeKAmazx5/8gCNgFfq7a7Z8D0RQdDXSD/l7slMkJKQZ+tZHtuusGTBToCmx8yc FXZbUyVvIzvw2z7JxR+UwrfSPUh8HTuaBNU+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=S7xjNd3XnMNkgpoaMOE6PjeQ+nFYJIILWQdJyc8K4TDSPmCIDjS6i/qz7TNwx5lbrU 6+H8e2LEB4ocxy7oLwYK8ros/K7nlgjY/1g9pKbp3XUj7og2ZtWlJFcCTlG2T1vnbvgC A/0vpUqS/ob7d7AQrSaDQ+v7y0dZpDqoLhyEM= Received: by 10.150.50.4 with SMTP id x4mr11718ybx.17.1283950270716; Wed, 08 Sep 2010 05:51:10 -0700 (PDT) Received: from [10.0.1.100] (99-190-205-163.lightspeed.iplsin.sbcglobal.net [99.190.205.163]) by mx.google.com with ESMTPS id m11sm60830ybn.4.2010.09.08.05.51.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 08 Sep 2010 05:51:09 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: How to monitor queue size programmatically? From: Tracy Snell In-Reply-To: <4C8785F5.5050905@gmail.com> Date: Wed, 8 Sep 2010 08:51:07 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <064AA50B-2EB7-4211-8DC8-254BB023A3D1@gmail.com> References: <1283943281667-2531110.post@n4.nabble.com> <1283947486173-2531177.post@n4.nabble.com> <1283948290399-2531195.post@n4.nabble.com> <4C8785F5.5050905@gmail.com> To: users@activemq.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org That info is exposed through JMX. Fire up jconsole and browse and you'll = see it. On Sep 8, 2010, at 8:47 AM, Don Santillan wrote: > Hello, >=20 > Is there a way to monitor or count the queue size programmatically? >=20 > Can I see a sample code snippet? >=20 > Thanks! > Don