Queue or Topic browser for UM

Hi,

I am looking for some sample code and best practice for getting a queue depth or messages in a topic/subscriber that is provided by Universal Messaging.

I had a look at the java library/doco but not sure what is the best way to do this. I am on webMethods version 9.8.

Thanks & Best Regards,

Kishan Bisht
Sydney

In Universal Messaging, you can check the current messages in Queue/Topic by Snooping in the Enterprise Manager. Click start to begin snooping as when there are messages pushed into the queue, you? will see it appearing in the list.

Then click stop when you do not wish to continue spying on the queue/topic. By snooping, you?ll be able to know how many documents/messages currently in the queue/topic.

To get the depth, space used and event id of a channel or a queue, need to implement java service that uses UM Java API (nAdminAPI.jar)