Connecting brokers in a collective

A collective is a set of brokers that are fully interconnected and form part of a multi-broker network for publish/subscribe applications.

You connect brokers in a collective by using either the Message Brokers Toolkit or the Configuration Manager Proxy Java API. This topic describes how to use the Message Brokers Toolkit.

For information about how to use the Configuration Manager Proxy (CMP), see Developing applications using the CMP and Class com.ibm.broker.config.proxy.CollectiveProxy.

To following steps show you how to connect brokers in a collective.

  1. Define the WebSphere MQ channels between the queue managers of each pair of the brokers in the collective; use the standard WebSphere MQ facilities (for example, WebSphere MQ Explorer).
  2. Assign the brokers as members of the collective using the Broker Topology editor in the workbench; the brokers do not have to be connected together using the connect function.
Tip: Compare the use of collectives with the use of WebSphere MQ cluster queues, as described in Developing applications using the CMP.
Related concepts
Brokers
Collectives
Publish/subscribe topologies
Related tasks
Connecting a broker to a collective
Using WebSphere MQ cluster queues for input and output
Related reference
Broker Topology editor
Related information
WebSphere Message Brokers Configuration Manager Proxy API