[rabbitmq-discuss] Age of message

cw storm cwstorm at gmail.com
Mon Mar 24 17:08:50 GMT 2014


So, something like props.Timestamp = DateTime.Now

However, during the consumption process, is it easy enough to compare the
timestamp value?  I'm guessing that's why you mentioned that the client
local server needs to be in sync with the NTP, right?


On Mon, Mar 24, 2014 at 11:38 AM, Matthias Radestock
<matthias at rabbitmq.com>wrote:

> On 24/03/14 15:31, cw storm wrote:
>
>> In order to use the timestamp of the message property, don't you have to
>> issue the "*setTimestamp
>> <http://www.rabbitmq.com/releases/rabbitmq-java-client/
>> v3.1.3/rabbitmq-java-client-javadoc-3.1.3/com/rabbitmq/
>> client/AMQP.BasicProperties.html#setTimestamp(java.util.Date)>"
>> to populate it? If so, isn't **setTimestamp
>> <http://www.rabbitmq.com/releases/rabbitmq-java-client/
>> v3.1.3/rabbitmq-java-client-javadoc-3.1.3/com/rabbitmq/
>> client/AMQP.BasicProperties.html#setTimestamp(java.util.Date)>
>> deprecated?*
>>
>
> You are meant to use the Builder classes, as described in
> http://www.rabbitmq.com/api-guide.html#classoverview
>
> Matthias.
>
> _______________________________________________
> 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/20140324/07152722/attachment.html>


More information about the rabbitmq-discuss mailing list