Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2322

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


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


      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 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.




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


              • Created: