Enabling MQe applications for JMX managment

To enable your MQe applications for JMX management:
  1. Obtain a compliant implementation of the JMX specification and set up your Java™ development environment so that the JMX and MQe JMX class libraries are accessible (as described in Setting up the MQe JMX interface).
  2. Create your MQe application as usual, ensuring that your queue manager is loaded, then call the following static method, passing it your MBeanServer instance, to create MBeans for all of the queue manager's resources:
    MQeQueueManagerJmx.createMQeMBeans(MBeanServer mbServer);
    Each of the MBeans is registered with your MBeanServer instance. For further details see Instrumenting your MQe resources as JMX MBeans.
  3. Create one or more connectors or adaptors to allow JMX management clients to connect to and manage your MQe applications. For further details on creating connectors and adaptors, see Instrumenting your MQe resources as JMX MBeans. You are now in a position to manage all of your MQe resources via JMX using the interface corresponding to your chosen connector or adaptor. It is also very important that you invoke the following static method at the end of your application to ensure that all MQe JMX resources are cleaned up:
    MQeQueueManagerJmx.endMQeJMXSession()

Terms of use | WebSphere software

(c) Copyright IBM Corporation 2004, 2005. All rights reserved.