This Confluence has been LDAP enabled, if you are an ASF Committer, please use your LDAP Credentials to login. Any problems file an INFRA jira ticket please.

Child pages
  • How do I purge a queue
Skip to end of metadata
Go to start of metadata

A frequent requirement is to purge a queue (i.e. delete all the messages on it).

Solution

You can use the Web Console to view queues, add/remove queues, purge queues or delete/forward individual messages.

Another option is to use JMX to browse the queues and call the purge() method on the QueueViewMBean.

You could also delete the queue via removeQueue(String) or removeTopic(String) methods on the BrokerViewMBean

You can also do it programmatically

Also See

  • No labels