Progress
External Program
Interfaces


setDefaultTimeToLive

In Session Objects

This procedure sets the default time to live, the number of milliseconds from the time a message is sent to the time the JMS server can delete the message from the system. A setting of 0 specifies that the message never expires. The default is JMS broker-dependent; the Progress 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. Setting an UNKNOWN value has no effect:

SYNTAX
PROCEDURE setDefaultTimeToLive. 
DEFINE INPUT PARAMETER millis AS DECIMAL. 

For information on this procedure in context, see the "Setting Message Delivery Parameters" section in Accessing SonicMQ Messaging From the Progress 4GL."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095