Completely clears a queue. For readTimeout behaviour see Javadocs for javax.jms.MessageConsumer.
@param queueName The Queue name to consume from
@param readTimeout The timeout for each consume
@throws javax.jms.JMSException Any exception that occurs during the consume
@throws InterruptedException If the consume thread was interrupted during a consume.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.