public int removeAllMessages ( String queueName ) { try { return getQueueControl ( queueName ) . removeMessages ( null ) ; } catch ( Exception e ) { throw new AsyncException ( e ) ; } }
Removes all messages from queue .