Local queue

You can create, update, delete and inquire on local queues and their descendents using administration actions provided in MQe. The basic administration mechanism is inherited from MQeAdminMsg.

The name of a queue is formed from the target queue manager name, for a local queue this is the name of the queue manager that owns the queue, and a unique name for the queue on that queue manager. Two fields in the administration message are used to uniquely identify the queue, these are the ASCII fields Admin_Name and Queue_QMgrName. You can use the setName(queueManagerName, queueName) method to set these two fields in the administration message.

The following diagram shows an example of a queue manager configured with a local queue. Queue manager qm1 has a local queue named invQ. The queue manager name characteristic of the queue is qm1, which matches the queue manager name. The following diagram shows a local queue:

Figure 1. Local queue
top Diagram showing a putMessage command being passed to a local queue named invQ on queue manager qm1, and the message being retrieved from the queue with a getMessage command.

Terms of use | WebSphere software

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