Administration messages

In the Java code, administration messages form a class hierarchy. The base class MQeMsgObject is extended by MQeAdminMsg, from which many other administration messages are derived. The derived administration messages often use the functions that they inherit from previous levels in the object hierarchy.

In the C API a similar mechanism can be used. For example, an MQeAdminMsg can be created, and a handle returned to it. This handle can then be used to call the functions of MQeMsgObject of which it is a specialization. Similarly an MQeClientConnectionAdminMsg (a specialization of MQeMsgObject) handle can be used on an MQeAdminMsg function.

WebSphere MQ-bridge

Under Java, the WebSphere MQ-bridge is constructed from a number of different objects. Some of these are created from published classes and others are created using administration messages. The objects that have a published Java class have a corresponding interface in C.

When constructing administration messages to create WebSphere MQ-bridge objects, the full Java class name must be specified (see Administration of the WebSphere MQ-bridge).



© IBM Corporation 2002. All Rights Reserved