About Follow the Master for webMethods Messaging
Follow the master is a Universal Messaging client setting that indicates that the client session always connects to the master realm server in the Universal Messaging cluster. If the master realm server is not available, Integration Server does not establish a connection. For a Universal Messaging connection alias, you can control whether a client session created from the alias follows the master for producer connections, consumer connections, both, or neither.
In many cases, follow the master can offer performance benefits. By default, each Universal Messaging connection alias is configured to follow the master for producer and consumer connections. Connections created for services that use the Universal Messaging connection alias to publish messages will follow the master realm server. webMethods messaging triggers that use the Universal Messaging connection alias to receive messages will use a connection that follows the master realm server.
However, there may be situations for which you do not want the producer and/or consumer connections to follow the master realm server. For example, if your solution has a large number of webMethods messaging triggers using many connections, it might provide better performance to distribute the load across theUniversal Messaging cluster. In this case, disable follow the master for consumers using the Universal Messaging connection alias.
For a Universal Messaging connection alias, Integration Server provides a producer option and a consumer option for indicating whether client sessions created from the alias follows the master.
For message producers, the
Enable Follow the Master for Producers check box determines whether the client session established for the message producer always connects to the master realm server.
For message consumers, the
Enable Follow the Master for Consumers check box determiners whether the client session established for the message consumer, such as a
webMethods messaging trigger, always connects to the master realm server.
When follow the master behavior is disabled for producers and/or consumers using a
Universal Messaging connection alias, whether you separate the realm servers listed in the
Realm URL parameter with a comma or a semicolon determines the
Universal Messaging realm server to which
Integration Server connects. For more information on the
Realm URL parameter, see
Creating a
Universal Messaging Connection Alias.
Note: Prior to Integration Server 10.0, the only way to disable follow the master behavior for webMethods messaging was to modify the custom_wrapper.conf file to include the wrapper.java.additional.n=-DFollowTheMaster=false where n was the next available wrapper.java.additional number. Do not use the DFollowTheMaster parameter to control the follow the master behavior for Integration Server. This parameter setting will override the follow the master behavior set in Universal Messaging connection aliases and JMS connection aliases.
For information about configuring follow the master for JMS connection aliases that use
Universal Messaging as the JMS provider, see the description of the
Enable Follow the Master option in
Creating a JMS Connection Alias.