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

setDefaultPersistency procedure

Sets the default message persistency value for all messages sent in that session.

Syntax

PROCEDURE setDefaultPersistency.
DEFINE INPUT PARAMETER deliveryMode AS CHARACTER.

Applies to

Session objects

Notes

*Possible values include: PERSISTENT, NON_PERSISTENT, NON_PERSISTENT_ASYNC, DISCARDABLE, and UNKNOWN (?).
*The default value is PERSISTENT.
*A call with an Unknown value (?) has no effect.
*Use DISCARDABLE only when publishing to a topic. If DISCARDABLE is used when publishing other than to a topic, an error is raised.
*The evaluation is case-insensitive.
*NON_PERSISTENT_ASYNC is a SonicMQ extension of the JMS specification.

See also

setDefaultPersistencyprocedure, getDefaultPersistencyfunction, setDefaultPriorityproceduregetDefaultPriorityfunction, setDefaultTimeToLiveprocedure, getDefaultTimeToLivefunction
For more information, see the Accessing message delivery parameters.