The Message Queue 4.1 installation includes two Java packages related to the JMX interface:
com.sun.messaging contains the class AdminConnectionFactory (discussed in Connecting to the MBean Server), along with a utility class AdminConnectionConfiguration defining static constants for use in configuring it.
com.sun.messaging.jms.management.server contains a collection of utility classes (listed in Utility Classes) defining useful static constants and methods used in the JMX interface.
These packages are contained in a Java archive file, imqjmx.jar, included in your Message Queue installation at the locations shown in Table 2–1, depending on your platform.
Table 2–1 JMX.jar File Locations
Platform |
File Location |
---|---|
Solaris |
/usr/share/lib/imqjmx.jar |
Linux |
/opt/sun/mq/share/lib/imqjmx.jar |
Solaris |
C:\sun\lib\imqjmx.jar |
To do application development for the Message Queue JMX API, you must include this .jar file in your CLASSPATH environment variable.
Message Queue’s JMX interface requires version 1.5 of the Java Development Kit (JDK). The functionality described here is not available under earlier versions of the JDK.