Sun Java System Message Queue 3.7 UR1 Administration Guide

Setting Cluster Properties for Individual Brokers

You can set a broker’s cluster configuration properties in its instance configuration file (or on the command line when you start the broker). For example, to create a cluster consisting of brokers at port 9876 on host1, port 5000 on host2, and the default port (7676) on ctrlhost , you would include the following property in the instance configuration files for all three brokers:

imq.cluster.brokerlist=host1:9876,host2:5000,ctrlhost

Notice that if you need to change the cluster configuration, this method requires you to update the instance configuration file for every broker in the cluster.