Broker 10.15 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | JMS Policy Based Client-Side Clustering | Overriding Cluster Policy
 
Overriding Cluster Policy
 
Specifying Cluster Policy Override At Design Time
Specifying Cluster Policy Override At Runtime
While sending messages to a cluster, you can override a cluster policy and specify the Brokers to which the messages must be sent in a cluster. This functionality is supported for all cluster polices, including the MultisendGuaranteed policy. This feature supports cluster and composite cluster connection factories.
There are two steps to override the cluster policy and specify the Brokers to which the messages must be sent in a cluster.
1. At design time, specify Cluster Policy Override while defining the cluster connection factory or the composite cluster connection factory.
2. At runtime, override the cluster policy for the subsequent messages by setting the WM_JMS_CLUSTER_NODES message property to the value obtained from the first message. TheWM_JMS_CLUSTER_NODES message property can contain reference to a single Broker or a list of Brokers.