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

Address size is count wrong for messages larger than 100K

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • AMQ 7.7.0.CR1
    • management
    • ARTEMIS-2789

      Address size is count wrong for messages larger than 100K. More precisely, I see that the address size is count well until value of 102815. On sending a larger message the value is always 64. Hawtio console and jolokia are reporting the same values. Message delivery works as expected. This was working with 7.6.0 GA AMQ Broker, so marking as regression.

      AMQ Broker 7.7.0 CR1

      # /usr/bin/env python3 /var/dtests/node_data/clients/aac5_sender.py  --broker-url "admin:admin@10.0.134.68:5672/JAMQNode555Tests_test_address_full_policy_block" --msg-content-from-file test_file.txt --conn-allowed-mechs PLAIN
      # curl --user admin:admin -H 'Origin: 10.0.134.68' 'http://10.0.134.68:8161/console/jolokia/read/org.apache.activemq.artemis:broker="amq",component=addresses,address="JAMQNode555Tests_test_address_full_policy_block"/AddressSize'
      {"request":{"mbean":"org.apache.activemq.artemis:address=\"JAMQNode555Tests_test_address_full_policy_block\",broker=\"amq\",component=addresses","attribute":"AddressSize","type":"read"},"value":64,"timestamp":1590575584,"status":200}[root
      

      AMQ Broker 7.7.0 CR1 (same message - 1byte)

      # /usr/bin/env python3 /var/dtests/node_data/clients/aac5_sender.py  --broker-url "admin:admin@10.0.134.68:5672/JAMQNode555Tests_test_address_full_policy_block" --msg-content-from-file test_file-1b.txt --conn-allowed-mechs PLAIN
      # curl --user admin:admin -H 'Origin: 10.0.134.68' 'http://10.0.134.68:8161/console/jolokia/read/org.apache.activemq.artemis:broker="amq",component=addresses,address="JAMQNode555Tests_test_address_full_policy_block"/AddressSize'
      {"request":{"mbean":"org.apache.activemq.artemis:address=\"JAMQNode555Tests_test_address_full_policy_block\",broker=\"amq\",component=addresses","attribute":"AddressSize","type":"read"},"value":102815,"timestamp":1590575726,"status":200}[
      

      AMQ Broker 7.6.0 GA

      # /usr/bin/env python3 /var/dtests/node_data/clients/aac5_sender.py  --broker-url "admin:admin@10.0.133.113:5672/JAMQNode555Tests_test_address_full_policy_block" --msg-content-from-file test_file.txt --conn-allowed-mechs PLAIN
      # curl --user admin:admin -H 'Origin: 10.0.134.68' 'http://10.0.133.113:8161/console/jolokia/read/org.apache.activemq.artemis:broker="amq",component=addresses,address="JAMQNode555Tests_test_address_full_policy_block"/AddressSize'
      {"request":{"mbean":"org.apache.activemq.artemis:address=\"JAMQNode555Tests_test_address_full_policy_block\",broker=\"amq\",component=addresses","attribute":"AddressSize","type":"read"},"value":102816,"timestamp":1590575804,"status":200}[
      

              tbueno@redhat.com Tiago Bueno
              pematous Petr Matousek
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: