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?
Paged messages are not on the queue yet.
There's a JIRA requesting a feature to add counts at the Address.
This will be probably moot with the new paging proposal (DevForums: http://community.jboss.org/thread/156674?tstart=0)