Hi, I am developing a tool which gather information about queues in a server. One of these informations is how many pending messages.
My approach now is to open a browser and iterate through all the messages, it works, but it is not good: 1-it is slow 2-each "next message" will make a network call, that makes it unacceptable Is there any other way to get this number? It would be perfect to have something like this: queue.getPendingMessageNumber() But I couldn't find... Any ideas of how I could do that? The server has this information, because I can see it in the server console. The question is: how can I reach it? Tks, Oscar -- View this message in context: http://activemq.2283324.n4.nabble.com/Get-the-number-of-pending-messages-programatically-tp3225127p3225127.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
