[rabbitmq-discuss] Age of message

cw storm cwstorm at gmail.com
Fri Mar 21 12:46:46 GMT 2014


MK,

So you're saying that the OS has to sync with the NTP server.  Once that's
confirm, then the message property of "timestamp" can be use to compare to
the local time on the client server, right?


On Fri, Mar 21, 2014 at 8:41 AM, cw storm <cwstorm at gmail.com> wrote:

> I also found,
> http://commons.apache.org/proper/commons-net/download_net.cgi
>
>
> On Fri, Mar 21, 2014 at 8:32 AM, cw storm <cwstorm at gmail.com> wrote:
>
>> Thanks MK.  Is the below client to perform the synchronization easier?
>>
>> http://support.ntp.org/bin/view/Support/JavaSntpClient
>>
>>
>> On Thu, Mar 20, 2014 at 9:28 PM, Michael Klishin <mklishin at gopivotal.com>wrote:
>>
>>>
>>> On 21 Mar 2014, at 00:49, cw storm <cwstorm at gmail.com> wrote:
>>>
>>> > I guess the client could include a timestamp during the publish and
>>> put it in a header attribute.  The consumer can use that information and
>>> match that against the current date time.
>>>
>>> There is a message property called "timestamp". Note that publishers and
>>> consumers then should synchronise
>>> their clocks using NTP or similar.
>>>
>>> MK
>>>
>>> Software Engineer, Pivotal/RabbitMQ
>>>
>>>
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140321/1c907298/attachment.html>


More information about the rabbitmq-discuss mailing list