How to send a message to another queue manager

This section describes the simplest way to send a message between queue managers, including prerequisites and authorizations required. Other methods can also be used to send messages to a remote queue manager.

Before you send a message from one queue manager to another, you need to do the following steps:
  1. Check that your chosen communication protocol is available.
  2. Start the queue managers.
  3. Start the channel initiators.
  4. Start the listeners.

You also need to have the correct IBM® MQ security authorization to create the objects required.

To send messages from one queue manager to another:
  • Define the following objects on the source queue manager:
    • Sender channel
    • Remote queue definition
    • Initiation queue ( [z/OS]required on z/OS®, otherwise optional)
    • Transmission queue
    • Dead-letter queue
  • Define the following objects on the target queue manager:
    • Receiver channel
    • Target queue
    • Dead-letter queue
You can use several different methods to define these objects, depending on your IBM MQ platform:

See the following subtopics for more information on creating the components for sending messages to another queue manager: