Publish/subscribe cluster scenario

In this scenario you create a simple three queue manager cluster and configure it to allow subscriptions created on one queue manager to receive messages published by an application connected to another queue manager.

Before you begin

The starting point for this scenario is an existing IBM® MQ installation. For instructions to install IBM MQ , follow the steps in Installing an IBM MQ server on Windows.

About this task

By completing the steps in this scenario, you first create the following cluster: The DEMO cluster contains three queue managers: PS1 (a full repository, listening on port 5000), PS2 ( a full repository, listening on port 5001), and PS3 (a partial repository, listening on port 5002). .

This cluster consists of three queue managers, two of which are defined as full repository queue managers.

You then define a cluster topic on queue manager PS3. By creating the cluster topic, you have made the cluster into a publish/subscribe cluster. To test the publish/subscribe cluster, you subscribe to the topic on any queue manager, then publish a message to the topic from another queue manager and check that your subscription receives the message.