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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • 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
    • ---
    • ---

    Description

      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")

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: