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

[Docs] The "queuePrefetch" property on the broker properties listed does not match a property in the broker.xml file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • AMQ 7.11.6.OPR.2.GA
    • operator
    • False
    • None
    • False
    • Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration, User Experience
    • Workaround Exists
    • Hide

      Set the "queuePrefetch" property on the consumer client's broker URL

      example:

      TCP://localhost:61616?jms.prefetchPolicy.queuePrefetch=10

      Show
      Set the "queuePrefetch" property on the consumer client's broker URL example: TCP://localhost:61616?jms.prefetchPolicy.queuePrefetch=10
    • Hide

      I tried to test it on a standalone broker as follows

      1. created file broker.properties
      #broker.properties
      addressSettings.\"#\".redistributionDelay=0
      addressSettings.\"#\".queuePrefetch=10
      
      2. Started the broker
      #broker start script
      broker7116/bin/artemis run --properties $(pwd)/broker.properties
      
      3.Created a consumer with CLIENT_ACKNOWLEDGEMENT mode
      
      4.Checked the queue stats, DELIVERING_COUNT=1000, which means the default value was being applied, instead of the value 10 set on property
      Show
      I tried to test it on a standalone broker as follows 1. created file broker.properties #broker.properties addressSettings.\ "#\" .redistributionDelay=0 addressSettings.\ "#\" .queuePrefetch=10 2. Started the broker #broker start script broker7116/bin/artemis run --properties $(pwd)/broker.properties 3.Created a consumer with CLIENT_ACKNOWLEDGEMENT mode 4.Checked the queue stats, DELIVERING_COUNT=1000, which means the default value was being applied, instead of the value 10 set on property

      Despite the "queuePrefetch" property being listed on the official documentation, this has no equivalent on the broker.xml file, as seen in the related XSD schema. This is confusing, because I can see the property is set for testing on the source code 

      So, I want to know what will happens with the "queuePrefetch" property Will it be added to the broker.xml also? Or this will be removed from documentation and tests ?

            jcliffor@redhat.com John Clifford
            rhn-support-anarvaez Alfredo Narvaez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: