6.8. Clustered Connection Factories
When
supportsLoadBalancing is set to true in the connection factory, consecutive attempts to create connections will round-robin between available servers. The first node is chosen randomly.
When
supportsFailover is set to true, failover will occur transparently and automatically whenever any connection error is detected.
For more information about configuring connection factories, refer to Section 5.8.1, “ConnectionFactory Managed Bean Attributes”.