I am using version 3.7.17 and confirmed that rabbitmq_message_timestamp plugin is enabled. I restarted RabbitMQ service.
Per the documentation, I should expect to see timestamp property or timestamp_in_ms header of a message after doing a basicPublish.
But I am seeing neither when I consume a message via the Management page, or in my Visual studio project using the RabbitMQ client.
In code when I consume the message, the timestamp is always 0.
Am I calling basicPublish incorrectly?
byte[] bytes = Encoding.UTF8.GetBytes(message);
IBasicProperties props = model.CreateBasicProperties();
props.ContentType = contentType;
props.DeliveryMode = 2;
props.Expiration = "3600";
lock (model)
model.BasicPublish(exchangeName, routingKey, props, bytes);