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

Message properties are ignored by filter expression

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • A-MQ 7.0.0.GA
    • broker-core
    • None

      According to https://activemq.apache.org/artemis/docs/latest/filter-expressions.html the filter allows special core identifiers like AMQTimestamp, AMQPriority, etc. and "Any other identifiers used in core filter expressions will be assumed to be properties of the message".

      But all attempts to filter messages using message headers (for example messageID) or custom message properties returned either an empty list or an IllegalStateException with "AMQ119020: Invalid filter"

      Issue can be reproduced in hawtIO console by :

      1. Select a queue and then in Operations tab, choose one of the JMX operations that supports filtering, for example listMessages(java.lang.String)
      2. Type messageID=[SOME VALID MESSAGE ID] in the filter box
      3. Execute

        1. AMQ-7.0.3-1.png
          AMQ-7.0.3-1.png
          170 kB
        2. AMQ-7.0.3-2.png
          AMQ-7.0.3-2.png
          101 kB
        3. AMQ-7.0.3-3.png
          AMQ-7.0.3-3.png
          88 kB
        4. Screenshot-1.png
          Screenshot-1.png
          88 kB
        5. Screenshot-2.png
          Screenshot-2.png
          74 kB

              rh-ee-ataylor Andy Taylor
              rhn-support-rakulkar Rajani Kulkarni (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: