activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Walczak (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-2504) Synchronize time without modifying the system date.
Date Sun, 22 Nov 2009 12:29:53 GMT
Synchronize time without modifying the system date.
---------------------------------------------------

                 Key: AMQ-2504
                 URL: https://issues.apache.org/activemq/browse/AMQ-2504
             Project: ActiveMQ
          Issue Type: Improvement
          Components: JMS client
            Reporter: Adam Walczak


I have a proposal to create a global variable in ActiveMQ's internals which alters the value
of System.getCurrentMillis(). Thanks to this we should be able to synchronize clients connected
to a JMS server (equipped with an additional NTP server for example) with out modifying their
system dates.

Scenario:

1. Servers system date is sync'ed with an NTP server.

2. Clients retrieve their time difference from the NTP server

3. The client set ActiveMq...setTimeDifferenceToServer(...)

4. Every call for system millis in ActiveMQ sources looks like this: System.getCurrentMillis()
+ ActiveMq...getTimeDifferenceToServer() 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message