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.
If the default is
FALSE, client persistence is not enabled.
You cannot change client persistence for an active session.
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.