setDefaultPersistency procedure
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
setDefaultPersistency procedure
Sets the default message persistency value for all messages sent in that session.
Syntax
|
Applies to
Session objects
Notes
- Possible
values include:
PERSISTENT,NON_PERSISTENT,NON_PERSISTENT_ASYNC,DISCARDABLE, andUNKNOWN(?). - The default value is
PERSISTENT. - A call with an
Unknown value (?)has no effect. - Use
DISCARDABLEonly when publishing to a topic. IfDISCARDABLEis used when publishing other than to a topic, an error is raised. - The evaluation is case-insensitive.
-
NON_PERSISTENT_ASYNCis a SonicMQ extension of the JMS specification.
See also
setDefaultPersistency procedure, getDefaultPersistency function, setDefaultPriority proceduregetDefaultPriority function, setDefaultTimeToLive procedure, getDefaultTimeToLive function
For more information, see the Accessing message delivery parameters.