Local queue resolution

Local message putting is fundamental to MQe. Messages, if they are to be useful, must always end up on a local queue. Message route resolution is the mechanism by which a message travels through an MQe network to its ultimate destination.

The following diagram shows a simple local message put.

Figure 1. A simple local message put

The message route is shown for a message put to (QueueManager)LocalQM destined for the (Queue)LocalQueue@LocalQM. This is clearly a put to a local queue, as the queue's 'queue manager name' is the same as the name of the queue manager to which the message is put.

The message route is shown with an arrow labelled with the message route name. The arrow indicates the direction in which the message flows. The text on the label indicates the currently used target name (this can change during message resolution). LocalQM looks for a queue to accept a message for LocalQueue@LocalQM. The process of determining which queue to place a message on is called Queue Resolution. LocalQM finds an exact match for the destination, the local queue. It then puts the message onto the local queue. The message will then reside on the local queue until it is retrieved via the getMessage() API call.


Terms of use | WebSphere software

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