PDA

View Full Version : Broker Client Queue Depth


aneelmurari
04-17-2007, 11:35
Hi,

Is there a way using the BrokerAdmin Java API to get the queue depths of all the broker clients?

I am currently geting this information using wm.broker.admin.clients:getClientInfo service. But, I want to have a solution that runs outside the Integration Server in order to monitor the state of the broker.

I did try BrokerAdminClient.getClientInfosById method. But it seems like the BrokerClientInfo object doesn't have the required information.

Thanks in Advance,
Aneel

griffima
04-18-2007, 07:39
Aneel,
The java api works great for this purpose and you can run it as a standalone app. The java api docs that come with the broker go into detail about the api and what to use.

In a nutshell , look at the BrokerAdminClient and BrokerEvent. There are some methods like getClientStatsById that will get you headed in the right direction.

aneelmurari
04-18-2007, 11:18
Thanks Mark. That is helpful.