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

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).
*This procedure must be called before beginSessionprocedure is called.
*The URLs specified in setConnectionURLs procedure are used to attempt reconnection to a SonicMQ Broker.

See also

setFaultTolerantprocedure, getFaultTolerantfunction, isFaultTolerant function, createChangeStateConsumer procedure, setFaultTolerantReconnectTimeout procedure, getFaultTolerantReconnectTimeout function, setInitialConnectionTimeout procedure, getInitialConnectionTimeout function, setClientTransactionBufferSize procedure, getClientTransactionBufferSize function
For more information, see the Fault tolerance and the Fault tolerance.