setLocalStoreDirectory procedure
Sets the directory that will be used by the adapter to persist messages.
Note: The JMS providers other than SonicMQ do not support this method.
Syntax
PROCEDURE setLocalStoreDirectory
DEFINE INPUT PARAMETER localStoreDir AS CHARACTER.
|
Applies to
Session objects (ClientConnect and ServerConnect only).
Notes
![*](bullet.png)
Only applicable for Client Persistence.
![*](bullet.png)
The default is the current working directory.
![*](bullet.png)
The directory used will be appended with the client ID that is set to ensure uniqueness when operating in MQ-ServerConnect mode.
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.