[
https://issues.apache.org/jira/browse/ARTEMIS-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
clebert suconic reopened ARTEMIS-1381:
--------------------------------------
> add a JMX operation removeAllMessages() to the queue
> -----------------------------------------------------
>
> Key: ARTEMIS-1381
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1381
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 2.3.0
> Reporter: Pat Fox
> Priority: Minor
> Fix For: 2.3.0
>
>
> it would be good to add a removeAllMessages() JMX operation to clear all
> messages from the queue, to make it a little more intuitive in various JMX
> browsers (such as jconsole)
> removing all the messages can be achieved by passing "null" to the
> removeMessages(String filter) operation but when using a JMX browser it is
> not immediately obvious what filter to use. Also the default value for the
> filter param using jconsole is "String", so you have to define the null
> filter value explicitly
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)