From d36326df92928c7cad5c9b051e7ce7a9cda1bdbd Mon Sep 17 00:00:00 2001 From: lacatoire Date: Thu, 5 Feb 2026 15:22:46 +0100 Subject: [PATCH] [Messenger] Document TransportMessageIdStamp support in AMQP transport --- messenger.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/messenger.rst b/messenger.rst index 6612ca8f5d..a03d663b7d 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1666,6 +1666,16 @@ your Envelope:: new AmqpStamp('custom-routing-key', AMQP_NOPARAM, $attributes), ]); +The AMQP transport automatically adds a +:class:`Symfony\\Component\\Messenger\\Stamp\\TransportMessageIdStamp` to +messages when they are sent and received. This stamp tracks the AMQP message +ID, which improves logging context when messages fail and are retried. + +.. versionadded:: 7.3 + + The ``TransportMessageIdStamp`` support in the AMQP transport was + introduced in Symfony 7.3. + .. warning:: The consumers do not show up in an admin panel as this transport does not rely on