Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 46328 invoked from network); 4 Dec 2006 22:51:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2006 22:51:35 -0000 Received: (qmail 68851 invoked by uid 500); 4 Dec 2006 22:51:43 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 68831 invoked by uid 500); 4 Dec 2006 22:51:43 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 68820 invoked by uid 99); 4 Dec 2006 22:51:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 14:51:43 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 14:51:31 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GrMeU-0001dX-Ml for activemq-dev@geronimo.apache.org; Mon, 04 Dec 2006 14:51:10 -0800 Message-ID: <7689330.post@talk.nabble.com> Date: Mon, 4 Dec 2006 14:51:10 -0800 (PST) From: samahome To: activemq-dev@geronimo.apache.org Subject: Re: NEED HELP on how i can "Provide an ay for retrieving the amount of messages per priority that is waiting to be sent to subscribers" In-Reply-To: <7688705.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sreenivas.sama@boeing.com References: <7671885.post@talk.nabble.com> <7688705.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Can I use BrokerView class to find the "amount of messages per priority waiting to be sent to consumers". If i can extend the BrokerView class, how would i attach the BrokerView object by connecting to the broker i started. Help on this or other ideas on how to programatically "find amount of messages per priority waiting to be sent to consumers" is greatly appreciated. - Sreenivas samahome wrote: > > Thanks, James for the info relating to using interceptor for broker for > finding the amount of messages per priority waiting to be sent to > consumer. > > Could you provide some examples of how the broker interceptor is written > and configured ? > > - Sreenivas > > > > James.Strachan wrote: >> >> You could write a broker interceptor to keep a track of this kind of >> thing; or use selectors. >> >> http://incubator.apache.org/activemq/interceptors.html >> >> On 12/4/06, samahome wrote: >>> >>> Which classes in ActiveMQ source i can look at for Providing an way for >>> retrieving the amount of messages per priority that is waiting to be >>> sent to >>> subscribers ? >>> >>> I would like to get this functionality programatically (other than the >>> use >>> of JMX). >>> >>> Help /Insights on this greatly appreciated. >>> >>> Thanks, >>> Sreenivas >>> -- >>> View this message in context: >>> http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7671885 >>> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com. >>> >>> >> >> >> -- >> >> James >> ------- >> http://radio.weblogs.com/0112098/ >> >> > > -- View this message in context: http://www.nabble.com/NEED-HELP--on-how-i-can-%22Provide-an-ay-for-retrieving-the-amount-of-messages-per-priority-that-is-waiting-to-be-sent-to-subscribers%22-tf2749797.html#a7689330 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.