1 Reply Latest reply on Sep 17, 2010 4:46 PM by Clebert Suconic

    Is there a way to get the total count of a queue?

    Jimmy Beagle Newbie

           I currently have the follow code running that tells me how many items I have in the queue. I'm assuming this is showing me what's in memory and not the total number of items that may be also on disk waiting to be brought back into memory because it keeps going up for me when my producer is shut off.

       

      Is there  a way to get the total count of all the items in a queue that are in memory and also on disk to be able to determine how far behind my consumers may be?

       

      Code:

       

      http://pastebin.org/947888

       

       

      thanks