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 343A978E1 for ; Mon, 1 Aug 2011 16:06:30 +0000 (UTC) Received: (qmail 52460 invoked by uid 500); 1 Aug 2011 16:06:29 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 52404 invoked by uid 500); 1 Aug 2011 16:06:29 -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 52395 invoked by uid 99); 1 Aug 2011 16:06:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 16:06:29 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kaustubh.khasnis@gmail.com designates 209.85.212.43 as permitted sender) Received: from [209.85.212.43] (HELO mail-vw0-f43.google.com) (209.85.212.43) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2011 16:06:24 +0000 Received: by vws10 with SMTP id 10so5643677vws.2 for ; Mon, 01 Aug 2011 09:06:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=s9IQbdL1zAkR12AQBsK8xCYI/fKzmFKGBRv5F3i9E2o=; b=a0hLDZbjNYQPfKG30+Xbnb6lXTQ5RxnumF0tZvjwc17DyPavDinpBKODLnlN1o8r9T zjyMTzxEd6bWe/zOzxrvgnUOT29AVYhBeg2JUCb+a3UnMOkZBQtb6AjlkEmUDTNjvlvN BWjMs0VSTDtHNh7zb5NDWOiZzVLrgIZ+0c2I0= MIME-Version: 1.0 Received: by 10.52.65.242 with SMTP id a18mr4536441vdt.25.1312214763267; Mon, 01 Aug 2011 09:06:03 -0700 (PDT) Received: by 10.52.113.38 with HTTP; Mon, 1 Aug 2011 09:06:02 -0700 (PDT) In-Reply-To: <581044E1-9E4B-42CC-9B95-2192E7912976@fusesource.com> References: <581044E1-9E4B-42CC-9B95-2192E7912976@fusesource.com> Date: Mon, 1 Aug 2011 21:36:02 +0530 Message-ID: Subject: Re: Message consumed count at broker end per unit time From: kaustubh khasnis To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=20cf307d04f2d5659b04a973ce74 --20cf307d04f2d5659b04a973ce74 Content-Type: text/plain; charset=ISO-8859-1 Hi, Thanks for the reply, I instead chose to write a broker plugin which will keep on calculating the stats and send to a central server. The counters I am increamenting in send method and postProcessDispatch method. somehow It looks like messageconsumed and messagedelivered methods are not being called at all? Do you know the reason behind this? --Kaustubh On Mon, Aug 1, 2011 at 1:57 PM, Torsten Mielke wrote: > I am afraid there is no JMX MBean or other plugin that calculates the > amount of msgs consumed/produced per second. > It should not be too difficult to write a little tool yourself, you simply > need to query the queues JMX properties at fixed intervals and then > calculate the rate per second. > > > Torsten Mielke > torsten@fusesource.com > tmielke@blogspot.com > > > > --20cf307d04f2d5659b04a973ce74--