Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : setLoadBalancing procedure
 

setLoadBalancing procedure

Turns client-side load balancing on or off.

Syntax

PROCEDURE setLoadBalancing
DEFINE INPUT PARAMETER loadBalancing AS LOGICAL.

Applies to

Session objects

Notes

*If client-side load balancing is turned on, the client allows redirection to another SonicMQ Broker in the cluster.
*If client-side load balancing is turned off, the client does not allow redirection.
*If beginSessionprocedure has already been called, an error is raised.

See also

setLoadBalancingprocedure, getLoadBalancingfunction
For more information, see the Load balancing.