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

JMX "Address Size" attribute increases for failed enqueue operations

XMLWordPrintable

    • Hide

      See attached project, which intentionally creates an exception on the server side. Start a clean broker, then run

      mvn compile
      mvn exec:java
      

      The observed attribute at org.apache.activemq.artems -> 0.0.0.0 -> addresses -> exampleQueue is:

      Address Size attribute = 1004319

      Restart the broker, the address size attribute returns to 0.

      Show
      See attached project, which intentionally creates an exception on the server side. Start a clean broker, then run mvn compile mvn exec:java The observed attribute at org.apache.activemq.artems -> 0.0.0.0 -> addresses -> exampleQueue is: Address Size attribute = 1004319 Restart the broker, the address size attribute returns to 0.

      When a message fails to enqueue due to an exception (e.g. java.lang.IllegalStateException), the JMX address size attribute for the destination still increases. The address size decreases after restart of the broker. It's unknown if this has any larger impact than the stat reporting the incorrect address size.

              sknot@redhat.com Stanislav Knot (Inactive)
              rhn-support-shiggs Stephen Higgs
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: