Number of Messages in a Queue

Hi,How do i get the number of messages in a queue.I'm using the Oracle 9iAs server.Regards,Pari
[131 byte] By [bronze-starDukes] at [2007-11-26 12:14:14]
# 1
The only pure JMS solution is to create a QueueBrowser, iterate and count. Most JMS providers have a more efficient but proprietary API to do the same thing.Dwayne
bronzestar at 2007-7-7 14:16:35 > top of Java-index,Archived Forums,Socket Programming...