activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Bertram (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1381) add a JMX operation removeAllMessages() to the queue
Date Fri, 01 Sep 2017 14:09:00 GMT

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

Justin Bertram commented on ARTEMIS-1381:
-----------------------------------------

FWIW, {{null}} or empty string for the filter will result in removing all messages.

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

Mime
View raw message