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

setReconnectInterval procedure

Sets the interval in seconds between reconnect attempts.

Syntax

PROCEDURE setReconnectInterval.
DEFINE INPUT PARAMETER interval AS INTEGER.

Applies to

Session objects (ClientConnect and ServerConnect only)
Note: The JMS providers other than SonicMQ do not support this method.

Notes

*Only applicable for Client Persistence.
*The default is 30, which means the adapter will attempt to reconnect to an MQ Broker every 30 seconds.
*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.