Skip Navigation Links | |
Exit Print View | |
Oracle GlassFish Server Message Queue 4.5 Developer's Guide for JMX Clients |
1. Introduction to JMX Programming for Message Queue Clients
Connecting to the MBean Server
Obtaining a JMX Connector from an Admin Connection Factory
Obtaining a JMX Connector Without Using an Admin Connection Factory
The Message Queue 4.5 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 in the IMQ_HOME/lib directory.
To do application development for the Message Queue JMX API, you must include this .jar file in your CLASSPATH environment variable.
Note - 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.