All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mq5.1-source.src.share.java.examples.jmx.README Maven / Gradle / Ivy

The newest version!
================================================================================
@(#)README	1.3 06/16/05
================================================================================

JMX Management and Monitoring API examples

Description
-----------
This directory contain examples that demonstrate the Oracle GlassFish(tm) Server
Message Queue broker JMX Management and Monitoring API. The examples consist 
of separate applications each showing how to monitor or manage the broker using
the JMX API.

Files
-----
SimpleClient.java	Source file for application that displays the broker 
			instance name and version.
ListDestinations.java	Source file for application that lists destinations
			and their state.
MQClusterMonitor.java	Source file for application that is a HA cluster
			monitor.
MQConnectDialog.java	Source file for connect dialog that is used by
			some of the JMX example applications.
MQLogViewer.java	Source file for application that is a JMX listener
			for log events.
*.class			Prebuilt Java class files for these examples.
README			This file.


Configuring the environment
---------------------------
To recompile or run this example, you need to set CLASSPATH
to include at least:
    imqjmx.jar
    directory containing this example

A detailed guideline on configuring your enrivonment and setting CLASSPATH 
is found in the top-level README file of the examples (demo) directory of
the Message Queue installation (/examples/README) as well as in
the "Quick Start Tutorial" in the Oracle GlassFish(tm) Server Message Queue 
Developer's Guide.

Building the example
--------------------
Compile the sample programs individually if you wish, or all at 
once by using the command

    javac *.java

Running the example
-------------------
The examples can be run using the java command e.g.
 
    java 

For example,

    java SimpleClient

Here is a description of each of the examples:

SimpleClient
-------------
This application displays the broker's instance
name and version.

Example usage:
    java SimpleClient

ListDestinations
----------------
This application displays the current list of destinations
on the broker and their state.

Example usage:
    java ListDestinations





© 2015 - 2024 Weber Informatics LLC | Privacy Policy