[jboss-user] [JBoss Messaging] - Messages expire when server's and consumer's system time is out of sync

Yuri Batrakov do-not-reply at jboss.com
Mon Feb 21 05:35:27 EST 2011


Yuri Batrakov [http://community.jboss.org/people/yurio] created the discussion

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

To view the discussion, visit: http://community.jboss.org/message/588685#588685

--------------------------------------------------------------
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?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/588685#588685]

Start a new discussion in JBoss Messaging at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110221/d83cfa58/attachment.html 


More information about the jboss-user mailing list