Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-7750

AMQ CLI enhancement to support the filter attribute

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • AMQ 7.10.2.GA
    • management
    • None
    • False
    • None
    • False

      The current AMQ CLI implementation does not offer a mechanism to specify a 'filter' string when querying for queue statistics:

      {{queue stat --url tcp://$BROKER_TARGET:61616 --user $USER --password $PASSWORD --maxRows 99999 --maxColumnSize -1 --queueName myqueue}}

      However, it is possible to specify a filter string using Jolokia:

      {{{{curl -sSkf -u $USER:$PASSWORD "https://192.168.10.12:8161/console/jolokia/read/org.apache.activemq.artemis:broker=Unable to render embedded object: File (%22amq-broker) not found.%22,component=addresses,address=Unable to render embedded object: File (%22${ADDRESS}) not found.%22,subcomponent=queues,routing-type=Unable to render embedded object: File (%22multicast) not found.%22,queue=Unable to render embedded object: File (%22${QUEUENAME}) not found.%22/Filter" | /abc/xy -r ".value"

      }}}}

       

      Could it be possible to accommodate the filter option in AMQ CLI, please? 

              gaohoward Howard Gao
              rhn-support-tywickra Tyronne Wickramarathne
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: