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

ASF GitHub Bot commented on ARTEMIS-1423:
-----------------------------------------

GitHub user pgfox opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1541

    ARTEMIS-1423 numeric filtering for ActiveMQServerControl.listQueues()

    This also applies to listAddresses()/listSessions()
    
    Also to add GREATER_THAN and LESS_THAN operations, this  allows the 
listQueues() to support queries such as "Message_Count GREATER_THAN 1000" or 
"Consumer_Count LESS_THAN 2"
    
    - When LESS_THAN or GREATER_THAN is used with a String column, nothing is 
matched. 
    - When CONTAINS is applied to a numeric column nothing is matched.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pgfox/activemq-artemis numeric_filter_alternat

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1541.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1541
    
----
commit 12f37427e409dbe50db5b7cd9fa2f0fa69633039
Author: Pat Fox <[email protected]>
Date:   2017-09-15T17:49:01Z

    ARTEMIS-1423 adding numeric filtering for 
ActiveMQServerControl.listQueues()/listAddresses()/listSessions()

----


> [ActiveMQServerControl.listQueues(), filtering ] add numeric filtering for 
> ActiveMQServerControl.listQueues() 
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: ARTEMIS-1423
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1423
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.3.0
>            Reporter: Pat Fox
>            Priority: Minor
>
> At the moment  ActiveMQServerControl.listQueues() filters results using 
> operation EQUALS and CONTAINS that carry out a string comparison on the 
> specified column. 
> It would by nice to allow the filter to work with a numeric comparison on the 
> columns that contain numeric value. Also to add GREATER_THAN and LESS_THAN 
> operations, this would allow queues such as "list queues with MessageCount 
> GREATER_THAN  1000" or "list queues with ConsumerCount LESS_THAN 2" 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to