Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RabbitMQ 3.1.3 and the missing timestamp header

Is it possible to configure the broker to insert a timestamp header if it is missing in the message? So if the publishing client does not add the timestamp header, can the broker insert it with a timestamp value matching the moment the message was received by the exchange? Where should I look for that configuration? Or is that a bad idea?

like image 764
bwfrieds Avatar asked Aug 01 '13 19:08

bwfrieds


1 Answers

As of 2015, there are new answers for the original question.

This plugin will do exactly what you were looking for.

Take in mind there will be some minimal overhead since it will hook all messages being queued.

like image 173
Ezequiel Moreno Avatar answered Oct 11 '22 16:10

Ezequiel Moreno