Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14241

The messageID cannot be used in a filter expressing via JBoss CLI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 22.0.0.Beta1
    • JMS
    • None
    • Hide
      • Please configure a Queue and send a few messages
      • Please check the values in the messageID header property
      • Please run the following CLI command, the command would not return '0' despite having a number of messages matching the criteria specified in the filer.

      /subsystem=messaging-activemq/server=default/jms-queue=A:count-messages(filter="messageID>0")

      Show
      Please configure a Queue and send a few messages Please check the values in the messageID header property Please run the following CLI command, the command would not return '0' despite having a number of messages matching the criteria specified in the filer. /subsystem=messaging-activemq/server=default/jms-queue=A:count-messages(filter="messageID>0")
    • Undefined
    • ---
    • ---

      The messageID header property holds a java.lang.Long value, however, it is not possible to use filter operators on the messageID header property.

      For example, the following expression would not work besides messageID in each message was greater than '0'.

      [standalone@localhost:9990 /] /subsystem=messaging-activemq/server=default/jms-queue=A:count-messages(filter="messageID>0")

       

              rchakrab Ranabir Chakraborty
              rchakrab Ranabir Chakraborty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: