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

setReconnectTimeout procedure

Sets the maximum amount of time in minutes that the client will attempt to reconnect to a broker.
Note: The JMS providers other than SonicMQ do not support this method.

Syntax

PROCEDURE setReconnectTimeout.
DEFINE INPUT PARAMETER timout AS INTEGER.

Applies to

Session objects (ClientConnect and ServerConnect only)

Notes

*Only applicable for Client Persistence.
*The default is 0 meaning there is no timeout.
*If the value is set, an asynchronous error will be sent to the OpenEdge application after the timeout has expired and no further reconnects will be attempted.
*Errors for this call will occur after the call to beginSessionprocedure .

See also

createRejectedMessageConsumer procedure, setClientPersistenceprocedure, getClientPersistencefunction, setLocalStoreDirectoryprocedure, getLocalStoreDirectoryfunction, setLocalStoreSizeprocedure, getLocalStoreSizefunction, setLocalStoreWaitTimeprocedure, getLocalStoreWaitTimefunction, setReconnectTimeoutprocedure, getReconnectTimeoutfunction, setReconnectIntervalprocedure, getReconnectIntervalfunction
For more information, see the Client persistence and the Client persistence.