public long getMessageCount ( String queue ) { try { return getQueueControl ( queue ) . getMessageCount ( ) ; } catch ( Exception e ) { throw new AsyncException ( e ) ; } }
Returns number of messages currently in queue