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

setClientPersistence procedure

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

Syntax

PROCEDURE setClientPersistence.
DEFINE INPUT PARAMETER enabled AS LOGICAL.

Applies to

Session objects (ClientConnect and ServerConnect only).

Notes

*Only applicable for Client Persistence.
*You must call setClientIDprocedure to use client persistence.
*If the default is FALSE, client persistence is not enabled.
*You cannot change client persistence for an active session.
*Call setClientPersistenceprocedure prior to calling beginSessionprocedure .
*To change the value of client persistence, you must stop and restart the session for any changes to take effect.

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.