JBoss.org Community Documentation

12.4.3. DestroyQueue

This operation lets you programmatically destroy a queue. The queue is undeployed and then all its data is destroyed from the database.

Warning

Be cautious when using this method since it will delete all data for the queue.

This operation returns true if the queue was successfully destroyed. otherwise it returns false.