How do I get a timestamp for when a message was received by RabbitMQ? In our application, we would like to measure how long a message was in the queue:
time_in_queue=System.currentTimeMillis() - timestamp_from_msg
I updated the "rabbitmq-message-timestamp" plugin. My change was merged and it is possible to use the new header "timestamp_in_ms" which contains timestamp in milliseconds.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With