Kbase P13057: How exactly are the timeToLive property and expiration managed by a Sonic broker
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Unverified
GOAL:
How exactly are the timeToLive property and expiration managed by a Sonic broker
FACT(s) (Environment):
SonicMQ
FIX:
The expiration time is based on GMT and
includes the value at moment of publish/send of
JMSExpiration date-time set to the
JMSTimestamp date-time plus the time-to-live value.
The message is published/sent from the client thus JMSTimestamp set there.
Indeed there can be problems if the clocks are not synchronized
and different time zones if not handled properly can further complicate the picture.
The broker is looking for the JMSExpiration property of the message and
discarding the message if the message appears to be expired.