JMS destination monitor
Iam using WAS 6.40 SP15. I have few JMS topics in my application. Is there any way to monitor how many listeners are there for a topic at a particular time? is there any tool or can it be done programatically? Any help?
Yes, there is - just log in at the telnet addministration.
(if you are using MMC - right click and select it from the context menu of the dispatcher, or you could do this
telnet <myhost> <myTelnetPort>
The telnet port, unless you did some fancy configuration should be the HTTP one, but the last digit is 8 instead of 0.
After you have logged in, execute the following commands
jms list consumers
You will see a listy of consumers for your destinations (queues and topics)
There is NO way to do that programatically via some API except by usage of the telnet.