Message flow control

Message flow control is a task that involves the setting up and maintenance of message routes between queue managers. It is important for routes that multi-hop through many queue managers. This section describes how you use queues, alias queue definitions, and message channels on your system to achieve message flow control.

You control message flow using a number of techniques that were introduced in Connecting applications using distributed queuing. If your queue manager is in a cluster, message flow is controlled using different techniques, as described in Message flow control.

You can use the following objects to achieve message flow control:
  • Transmission queues
  • Message channels
  • Remote queue definition
  • Queue manager alias definition
  • Reply-to queue alias definition
The queue manager and queue objects are described in Objects . Message channels are described in Distributed queuing components . The following techniques use these objects to create message flows in your system:
  • Putting messages to remote queues
  • Routing by way of particular transmission queues
  • Receiving messages
  • Passing messages through your system
  • Separating message flows
  • Switching a message flow to another destination
  • Resolving the reply-to queue name to an alias name

Note

All the concepts described in this section are relevant for all nodes in a network, and include sending and receiving ends of message channels. For this reason, only one node is illustrated in most examples. The exception is where the example requires explicit cooperation by the administrator at the other end of a message channel.

Before proceeding to the individual techniques, it is useful to recap on the concepts of name resolution and the three ways of using remote queue definitions. See Concepts of intercommunication.