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 setClientID procedure to use client persistence.
*If the default is FALSE, client persistence is not enabled.
*You cannot change client persistence for an active session.
*Call setClientPersistence procedure prior to calling beginSession procedure .
*To change the value of client persistence, you must stop and restart the session for any changes to take effect.

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.