Hi,
For diferent
reasons, I need to obtain in an application using RabbitMQ the time (timestamp)
at which messages arrive at RabbitMQ. I have successfully enabled the
"rabbitmq_message_timestamp" plugin, but from what I see (in the code
and in my tests) is that the plugin does not modify the value of the
"timestamp_in_ms" property if it’s already set.
So, if a user sets that property to a value, the plugin will not modify it (and therefore we lose the real reference of the arrival to the server). I haven't found a way to prevent a user from setting that value, so right now I don't see any other option than modify and compile the plugin myself (which I don't like for several reasons, including that I have no Erlang knowledge). Is there any other way to get that timestamp from the server? Any other option/idea?
Personally, I think that this functionality is very useful in certain circumstances, and that it would be worth having it integrated into the RabbitMQ core itself.
Thanks!