From users-return-1950-apmail-qpid-users-archive=qpid.apache.org@qpid.apache.org Tue Sep 29 14:51:05 2009 Return-Path: Delivered-To: apmail-qpid-users-archive@www.apache.org Received: (qmail 98119 invoked from network); 29 Sep 2009 14:51:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Sep 2009 14:51:05 -0000 Received: (qmail 69610 invoked by uid 500); 29 Sep 2009 14:51:05 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 69593 invoked by uid 500); 29 Sep 2009 14:51:04 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 69582 invoked by uid 99); 29 Sep 2009 14:51:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 14:51:04 +0000 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 (nike.apache.org: domain of lists+1231964187411-2158936@n2.nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2009 14:50:55 +0000 Received: from tervel.nabble.com ([192.168.236.150]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Mse2F-0000rP-0z for users@qpid.apache.org; Tue, 29 Sep 2009 07:50:35 -0700 Date: Tue, 29 Sep 2009 07:50:35 -0700 (PDT) From: xinfang To: users@qpid.apache.org Message-ID: <1254235835027-3736727.post@n2.nabble.com> In-Reply-To: <4AC14E19.3090004@redhat.com> References: <1253809835581-3707122.post@n2.nabble.com> <1254169590436-3731708.post@n2.nabble.com> <4AC14E19.3090004@redhat.com> Subject: Re: There have any way let C++ client to check Queue or topic size on broker side. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: pclovec@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Actually want a write a API or library , this library function may be same console. it provide some APIs getQueueSize(Queue Name) getQueueCount(..) the sender project can call getqueuesize and faster return the info i see ,may be there have another way . use qmf console. my library caught qmfconsole return info and parser the data(i didn't try it). but i want my library can immediacy call qmfcommand or some api and return data. Thanks Carl Trieloff wrote: > > > To read the stats from the broker you need Console, which I believe > depends on common > > Carl. > > > xinfang wrote: >> Rajith Thanks for your reply. >> >> Yes ,Now i'm looking at QMF and i also looking at the QMFAgent, >> QMFConsole's >> code. Actually i want to find out in my new project for C++ which library >> do >> i need to link.. bcs i saw more lib files in src/.libs/ folder. >> QMFAgent.so >> QMFCommon.so >> QMFConsole.so >> >> I will still waiting for Ted to point out . >> >> Thanks. >> >> >> >> >> Rajith Attapattu wrote: >> >>> Hello, >>> >>> You could use the c++ QMF API to accomplish this. >>> The following link could provide and overview of QMF >>> http://qpid.apache.org/qpid-management-framework.htm >>> >>> I will leave it to Ted to point out to any documentation to the C++ >>> API as he is the expert. >>> >>> Regards, >>> >>> Rajith >>> >>> On Thu, Sep 24, 2009 at 12:30 PM, xinfang wrote: >>> >>>> I want c++ producer can check the queue size on broker . then i can my >>>> sender can do some action when i know the queue size . >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://n2.nabble.com/There-have-any-way-let-C-client-to-check-Queue-or-topic-size-on-broker-side-tp3707122p3707122.html >>>> Sent from the Apache Qpid users mailing list archive at Nabble.com. >>>> >>>> --------------------------------------------------------------------- >>>> Apache Qpid - AMQP Messaging Implementation >>>> Project: http://qpid.apache.org >>>> Use/Interact: mailto:users-subscribe@qpid.apache.org >>>> >>>> >>>> >>> >>> -- >>> Regards, >>> >>> Rajith Attapattu >>> Red Hat >>> http://rajith.2rlabs.com/ >>> >>> --------------------------------------------------------------------- >>> Apache Qpid - AMQP Messaging Implementation >>> Project: http://qpid.apache.org >>> Use/Interact: mailto:users-subscribe@qpid.apache.org >>> >>> >>> >>> >> >> > > > -- View this message in context: http://n2.nabble.com/There-have-any-way-let-C-client-to-check-Queue-or-topic-size-on-broker-side-tp3707122p3736727.html Sent from the Apache Qpid users mailing list archive at Nabble.com. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org