Module 1: Setting up MQ
In this module, you will create all of the IBM® MQ objects for replication between a source and target. You start by creating the queue managers, which manage communication on the MQ messaging system.
The following figure shows the SRC_QM queue manager at the source and TGT_QM queue manager at the target. The two queue managers interact with the Q Capture and Q Apply programs, queues, and channels to rapidly move data in the form of messages. The figure shows two paths for messages: one for replicated data and communication from the source, and one that the Q Apply program uses to communicate with the Q Capture program. The source-to-target channel is depicted as larger because it carries replicated transactions, which are the bulk of the messaging traffic.
Learning objectives
Each of the lessons in this module show the appropriate sections of this figure to identify the queues and channels that you are creating at each phase of the setup.After you complete the lessons in this module, you will be able to:
- Create the source and target queue managers.
- Start the queue managers.
- Create the source queues.
- Create the target queues.
- Create the MQ channels.
- Start the MQ channels and listeners.
Time required
This module should take approximately 20 minutes to complete.- Lesson 1.1: Creating the source and target queue managers
In this lesson, you will create and start the queue managers for the source and target systems. - Lesson 1.2: Creating the source queues
In this lesson, you define four queues at the source system. - Lesson 1.3: Creating the target queues
In this lesson, you define four queues at the target system. - Lesson 1.4: Creating MQ channels
IBM MQ uses channels to transmit messages between queue managers. In this lesson, you define the channels between the source and target queue managers in both directions. - Lesson 1.5: Starting MQ channels and listeners
In this lesson, you start your two IBM MQ channels at the sender ends of each channel, and start a listener at the receiving ends of each channel to monitor for incoming messages.