Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rabbitmq message arrival time stamp

Tags:

c#

rabbitmq

amqp

Is there a way to get the timestamp when a message was placed on the queue, from a consumer. Not when it was published, but when it actually made it to the queue.

like image 696
Dmitry Avatar asked Feb 09 '12 18:02

Dmitry


1 Answers

No there's no way to figure this out, unless, as you state yourself you write a plugin for this. There is nothing in the AMQP specification that says that the message must know when it arrived in the queue.

There is no need from the AMQP point of view to know this. There are also many cases when the message might pass through several queues and then which queue should represent the relevant timestamp?

like image 63
Daniel Figueroa Avatar answered Oct 04 '22 19:10

Daniel Figueroa