+

Search Tips | Advanced Search

Tutorial 2: Sending a message to a remote queue

A tutorial showing how to send messages to a remote queue manager.


Before starting

This tutorial builds upon IBM MQ objects set up in Tutorial 1: Sending a message to a local queue. We must complete Tutorial 1 to proceed with this tutorial.


About this task

This tutorial shows you how to set up messaging between a queue manager that is called QM_ORANGE and a queue manager called QM_APPLE. We can complete this tutorial, and verify the environment, by setting up the sending queue manager on the same computer as the target queue manager. A message that is created on the sending queue manager is delivered to a queue called Q1 on the receiving queue manager (this queue is referred to as a remote queue).Important: During this tutorial, we must use the computer on which you created queue manager QM_APPLE and local queue Q1.

We must set up a queue manager and queues (a remote queue definition and a transmission queue) on your computer, and then define a message channel. Finally, put a test message onto the sending queue manager, and get it from the queue on the receiving queue manager.

When you have completed this tutorial, we should have a basic understanding of how to set up and use IBM MQ messaging using a remote queue definition.

Parent topic: IBM MQ Tutorials Previous topic: Tutorial 1: Sending a message to a local queue Next topic: Tutorial 3: Sending a message on a client-server configuration

Last updated: 2020-10-04