Clear a specific shard of a queue
@param queueUrl The URL of the queue
@param shard The shard to be used
@throws PersistenceException
@throws UnsupportedEncodingException
@throws NoSuchAlgorithmException
Clears the queue by deleting all the messages from the queue that have not been acquired by consumers" Since Qpid JMX API 1.3 this returns the number of messages deleted. Prior to this, the return type was void.
@return the number of messages deleted
@throws IOException
@throws JMException
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.