Class ClientSideLoadBalancingExample
- java.lang.Object
-
- org.apache.activemq.artemis.jms.example.ClientSideLoadBalancingExample
-
public class ClientSideLoadBalancingExample extends Object
This example demonstrates how sessions created from a single connection can be load balanced across the different nodes of the cluster. In this example there are three nodes and we use a round-robin client side load-balancing policy.
-
-
Constructor Summary
Constructors Constructor Description ClientSideLoadBalancingExample()
-