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

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

    XMLWordPrintable

Details

    • 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

    Description

      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 ?

      Attachments

        Issue Links

          Activity

            People

              dbruscin Domenico Francesco Bruscino
              rhn-support-anarvaez Alfredo Narvaez
              Tiago Bueno Tiago Bueno
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: