Quantcast
Channel: SCN: Message List - SAP NetWeaver Technology Platform
Viewing all articles
Browse latest Browse all 4415

Re: Monitoring JMS Queue Lengths

$
0
0

Even if this thread is some years old, at least it's a standard question, so here comes the standard answer (but it is also given in the referenced thread on fixunix.com):

 

int msgCount = java.util.Collections.list(queueBrowser.getEnumeration()).size();

 

where queueBrowser is a standard QueueBrowser object.

 

So, no specific methods needed, the standard provides it all...

 

Best regards

Detlev


Viewing all articles
Browse latest Browse all 4415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>