How to send a message to another queue manager
This section describes the simplest way to send a message from one queue
manager to another.
Before you do this you need to do the following:
- Check that your chosen communication protocol is available.
- Start the queue managers.
- Start the channel initiators.
- Start the listeners.
You also need to have the correct WebSphere 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 (required on z/OS, otherwise optional)
- Transmission queue
- Dead-letter queue (recommended)
- Define the following objects on the target queue manager:
- Receiver channel
- Target queue
- Dead-letter queue (recommended)
You can use several different methods to define these objects, depending
on your WebSphere MQ platform:
- On all platforms, you can use the WebSphere MQ script commands (MQSC) described
in WebSphere MQ Script (MQSC) Command Reference, the programmable command format (PCF) commands described
in WebSphere MQ Programmable Command Formats and Administration Interface, or the WebSphere MQ explorer.
- On z/OS you can also use the Operation and Control panels described in WebSphere MQ for z/OS System Administration Guide.
- On i5/OS you can also use the panel interface.
The different methods are described in more detail in the platform-specific
parts of this book.