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 JMS-provider Broker in the cluster.
  • If client-side load balancing is turned off, the client does not allow redirection.
  • If beginSession procedure has already been called, an error is raised.

See also

setLoadBalancing procedure, getLoadBalancing function

For more information, see the Load balancing.