7 Replies Latest reply on Dec 22, 2003 4:09 PM by rviloria

    getting queue depth from client

    rviloria Newbie

      This is probably a simple item but I didnt see anything explicit in the spec. How can I build a client that can get the queue depth of a queue programmatically without using a queuebrowser object. The problem is that if I use a queuebrowser, the getEnumeration() method gets an out of memory error when the queue depth is fairly large. Because I simply want the depth to get a message count, I dont feel my heap size should have been exceeded for simply wanting to get the depth of a queue. I do not need to browse the messages for anything fancier than a simple count, Isnt there something like a queuebrowser.depth()? Thanks in advance for anyone who can enlighten me on this small request.