It looks like that there is no way to instruct a broker to purge all queues. This story will implement such functionality.
Two functions can be added to virtual host:
- clearMatchingQueues with regular expression as input parameter. Every queue with the name that matches the regular expression should be cleared.
- clearQueues with the list of queue IDs or names as input parameter.
There can be a new button "Clear Queue" on the VirtualHost pane in Broker GUI that executes clearQueues function with selected queue IDs as the input parameter.