0 Replies Latest reply on Feb 21, 2011 5:35 AM by Yuri Batrakov

    Messages expire when server's and consumer's system time is out of sync

    Yuri Batrakov Newbie

      Hi all!


      I'm using JBoss messaging 1.4.3.GA with JBoss 5.1.0.GA and faced the following situation: there are two computers in network, one of them hosts JMS server and application that sends messages with some timeout specified (2 minutes for instance). The consumer is on another computer where system time differs from server's one in 3 minutes. In this case messages are dropped by consumer due to message expiration. I explored the code and figured out that consumer relies on its own system time when checking for expiration while server sets its time as timestamp for JMS message.

      I was wondering if this behavior could be changed or maybe there's a Jboss messaging version where this is fixed?