Sets the default time to live, the number of milliseconds from the time a message is sent to the time the SonicMQ Broker can delete the message from the system.
Syntax
PROCEDURE setDefaultTimeToLive.
DEFINE INPUT PARAMETER millis AS DECIMAL.
Applies to
Session objects
Notes
A setting of 0 specifies that the message never expires.
The default is JMS-broker-dependent; the SonicMQ default value is 0.
Any fractional part of the decimal value is truncated.
If the value does not fit in a Java long value, Java rules for decimal-to-long conversions are used.