[Messenger] Document TransportMessageIdStamp support in AMQP transport

This commit is contained in:
lacatoire
2026-02-05 15:22:46 +01:00
parent 5c1395ebc7
commit d36326df92

View File

@@ -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