You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Pat Fox (JIRA)" <ji...@apache.org> on 2017/08/31 21:32:00 UTC

[jira] [Commented] (ARTEMIS-1381) add a JMX operation removeAllMessages() to the queue

    [ https://issues.apache.org/jira/browse/ARTEMIS-1381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149637#comment-16149637 ] 

Pat Fox commented on ARTEMIS-1381:
----------------------------------

adding a pull request with suggested change now

> 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
>
>  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)