From 8c18f6db79b59de88e57bd805192a98e48076c41 Mon Sep 17 00:00:00 2001 From: Sylvain PRAS Date: Mon, 25 Mar 2024 13:12:05 +0100 Subject: [PATCH] Fix routingkey in logged message (#724) --- RabbitMq/Producer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RabbitMq/Producer.php b/RabbitMq/Producer.php index 290c8a57..8fcb7349 100644 --- a/RabbitMq/Producer.php +++ b/RabbitMq/Producer.php @@ -67,7 +67,7 @@ public function publish($msgBody, $routingKey = null, $additionalProperties = [] $this->logger->debug('AMQP message published', [ 'amqp' => [ 'body' => $msgBody, - 'routingkeys' => $routingKey, + 'routingkey' => $real_routingKey, 'properties' => $additionalProperties, 'headers' => $headers, ],