setReplyTimeToLive procedure
- Last Updated: August 26, 2021
- 1 minute read
- OpenEdge
- Version 12.2
setReplyTimeToLive procedure
Sets the time to live value (in milliseconds) of the reply messages when the Message Consumer is passed to requestReply procedure.
Syntax
|
Applies to
Message Consumer objects
Notes
- Time to live is the number of milliseconds from the time the message is sent to the time the JMS-provider Broker can delete the message from the system.
- A value of 0 means the message never expires.
- The default is JMS-system-dependent; the SonicMQ default value is 0.
- The
replyTimeToLivevalues can be set only once. The fractional part of the decimal value is truncated. If the value does not fit in a Javalongvalue, Java rules for decimal-to-long conversion apply.
See also
setReplyPersistency procedure, getReplyPersistency function, setReplyPriority procedure, getReplyPriority function, #rfi1387308553021, getReplyTimeToLive function, setReplyAutoDelete procedure, getReplyAutoDelete function
For more information, see the Accessing message handler information and the Setting reply properties.