How do I purge a queue
A frequent requirement is to purge a queue (i.e. delete all the messages on it).
You can use the Web Console to view queues, add/remove queues, purge queues or delete/forward individual messages.
You could also delete the queue via removeQueue(String) or removeTopic(String) methods on the BrokerViewMBean
You can also do it programmatically