activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <>
Subject Re: JMSExpiration problem
Date Wed, 09 Aug 2006 08:12:59 GMT
On 8/8/06, jerb <> wrote:
> Hi,
> I'm investigating using the JMSExpiration property of the message header and
> I'm troubled by something I saw in the code. The code I looked at is 4.0.1.
> When a message is sent, the expiration is determined based on the time to
> live + System.currentTimeMillis() of the sending machine. The JMSTimestamp
> is also set to be System.currentTimeMillis() of the sending machine. When
> the broker does its own expiration calculation, it uses
> System.currentTimeMillis() of the broker machine. If the broker's machine
> and the sending machine have different system times, won't this adversely
> affect the expiration logic?

Yes - though this is a JMS API thing rather than our implementation.

For more details see



View raw message