setFaultTolerantReconnectTimeout procedure
Sets a time limit in seconds on reconnection attempts.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
PROCEDURE setFaultTolerantReconnectTimeout.
DEFINE INPUT PARAMETER seconds AS INTEGER.
|
Applies to
Session objects (ClientConnect and ServerConnect only).
Notes
Only applicable for Fault Tolerant connections.
The default is 60 seconds. A timeout value of 0 indicates no timeout (that is, the reconnect will be attempted indefinitely).
See also
For more information, see the Fault tolerance and the Fault tolerance.