setSequential procedure
Sets the method the client application will use to connect to the broker.
Syntax
PROCEDURE setSequential.
DEFINE INPUT PARAMETER seq AS LOGICAL.
|
Applies to
Session objects
Notes
![*](bullet.png)
Sonic lets clients try to connect to brokers in a connection list in two ways:
Sequentially — Starting with the first broker in the list and working sequentially
Randomly — Repeatedly picking a broker randomly
![*](bullet.png)
The default is
TRUE, which tells clients to try to connect sequentially.
![*](bullet.png)
To attempt load balancing, set seq to
FALSE, which tells clients to try to connect randomly.
See also
For more information, see the Managing fail-over support.