getReconnectInterval function

Returns the interval for reconnection attempts in seconds.

Note: The JMS providers other than SonicMQ do not support this method.

Syntax

FUNCTION getReconnectInterval RETURNS INTEGER

Applies to

Session objects (ClientConnect and ServerConnect only).

Notes

  • Only applicable for Client Persistence.
  • The default is 30 seconds.

See also

createRejectedMessageConsumer procedure, setClientPersistence procedure, getClientPersistence function, setLocalStoreDirectory procedure, getLocalStoreDirectory function, setLocalStoreSize procedure, getLocalStoreSize function, setLocalStoreWaitTime procedure, getLocalStoreWaitTime function, setReconnectTimeout procedure, getReconnectTimeout function, setReconnectInterval procedure, getReconnectInterval function

For more information, see the Client persistence and the Client persistence.