Kbase 20272: Maximum Value of the SonicMQ time-to-live Parameter
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  19/10/2000 |
|
SUMMARY:
This solution applies to Progress SonicMQ Versions 2000.0, 2000.1. It discusses the time-to-live data types and maximum values.
EXPLANATION:
In the Java Message Service (JMS) specification 1.0.1 (and SonicMQ 2000.0) time-to-live is an int data type which allows values up to Integer.MAX_INTEGER.
In SonicMQ 2000.1, time-to-live is a long data type that allows values up to Long.MAX_LONG (2^63 - 1), which is approximately 292,471,208 years.
The rule is expiration = current time + time to live and the maximum value for expiration (or any java date time) is also Long.MAX_LONG.
The publisher of the message sets the time-to-live parameter, a value that when added to the publication timestamp, determines the
expiration time of the message.
Reference To Written Documentation:
SonicMQ Programming Guide.