Queue managers are created and deleted using the MQeQueueManagerConfigure class.
General queue manager administration is performed using the MQeQueueManagerAdminMsg class
which inherits from MQeAdminMsg.
The following actions are applicable to queue managers:
- MQeAdminMsg.Action_Inquire
- MQeAdminMsg.Action_InquireAll
- MQeAdminMsg.Action_Update
The
MQeAdminMsg.Admin_Name field in the administration
message is used to identify the queue manager. The method
setName(String) can
be used set this field in the administration message.
Note: For all administration
messages, information relating to the destination queue manager, reply queue,
and so on, must be set. This is referred to in the examples below as priming
the administration message.
The examples show how to create the administration message to achieve the
required result. The message then needs to be sent, and the administration
reply messages checked as required.