Qpid
  1. Qpid
  2. QPID-2322

remove redundant "version" key property from the ObjectName of the JMX MBeans

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Java Broker
    • Labels:

      Description

      Brokers from 0.5 onward have an additional version=X key property in the MBean ObjectName. This was added in 0.5 to enable version tracking for the MBeans to accomodate compatibility checks where necessary after changes. In 0.6.0.0 a new version tracking system was put in place, using the new ServerInformation MBean. As such, the version key property in the ObjectName is no longer required.

      Motivation for removing the key property is that for certain JMX operations that require knowing the exact ObjectName of the single remote MBean you wish to operate on, you must know the value of the version key, which is different on each type of MBean and also differs between releases. Whilst it is possible to easily Query the server for this information, the ability to first perform this query is not always available to the user (eg for non-bespoke server health checks) and as such they need to know the exact value in advance. Removing the now-unused version key from the ObjectName will remove this need in future broker releases.

        Activity

        Robbie Gemmell created issue -
        Robbie Gemmell made changes -
        Field Original Value New Value
        Status Open [ 1 ] In Progress [ 3 ]
        Robbie Gemmell made changes -
        Status In Progress [ 3 ] Ready To Review [ 10006 ]
        Marnie McCormack made changes -
        Status Ready To Review [ 10006 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Robbie Gemmell made changes -
        Labels jmx_interface
        Robbie Gemmell made changes -
        Component/s Java Management : JMX Interface [ 12313025 ]
        Rob Godfrey made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Robbie Gemmell
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development