Sun Java System Message Queue 4.1 Technical Overview

Administration Tools and Tasks

This section describes the tools you use to configure Message Queue services and the tasks that you need to complete to support a development or a production environment.

Administration Tools

Figure 3–5 shows a view of the message service that excludes the client connections and focuses on the broker components and on the tools used to manage these.

Figure 3–5 Administration Tools

Figure shows which tools the administrator uses to control
which Message Queue Service components. Figure explained in text.

You can use the following command-line tools to configure and manage the Message Queue service.

A GUI-based administration console combines some of the capabilities of the imqcmd and imqobjmgr utilities. You can use it to do the following:

JMX-Based Administration

To serve clients who need a standard programmatic means to monitor and access the broker, Message Queue also supports the Java Management Extensions (JMX) architecture, which allows a client application to manage resources programmatically.

JMX-based administration provides dynamic, fine grained, programmatic access to the broker. You can use this kind of administration in a number of ways.

In addition to offering expanded functionality (compared to the JMS API), JMX is also the Java standard for building management applications and is widely used for managing J2EE infrastructure. If your Message Queue client is a part of a larger J2EE deployment, JMX support allows you to use a standard programmatic management framework throughout your J2EE application.

The JMX specification defines an architecture that enables the programmatic management of any distributed resource. This architecture is defined by design patterns, APIs, and various services. Message Queue relies on the implementation of the JMX 1.2 specification, which is part of JDK 1.5.

To manage a Message Queue broker using this architecture, you create an MBean (a managed Java object) that represents the resource to be managed. You manage the underlying resource by configuring the MBean, invoking its operations, or listening for notifications. For complete information about using JMX to manage the Message Queue broker, see Sun Java System Message Queue 4.1 Developer’s Guide for JMX Clients.

Supporting a Development Environment

In developing a client component, it’s best to keep administrative work to a minimum. The Message Queue product is designed to help you do this and can be used out of the box. It should be enough just to start the broker. The following practices allow you to focus on development:

Supporting a Production Environment

In a production environment, message service management plays a key role in application performance and in meeting the enterprise requirements for scaling, availability, and security. In this environment, the administrator has many more tasks to perform. These can be roughly divided into setup and maintenance operations.

Setup Operations

Typically, you have to perform the following setup operations:

Maintenance Operations

To monitor and control broker resources and to tune application performance, you must do the following after an application has been deployed: