Tutorial 2: Sending a message to a remote queue

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

Before you begin

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

About this task

A visual summary of what you achieve in this tutorial. For more information, see the first page of the tutorial.

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. You can complete this tutorial, and verify your 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, you must use the computer on which you created queue manager QM_APPLE and local queue Q1.

You 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, you should have a basic understanding of how to set up and use IBM MQ messaging using a remote queue definition.