minor #21892 [Messenger] Document TransportMessageIdStamp support in AMQP transport (lacatoire)

This PR was merged into the 7.3 branch.

Discussion
----------

[Messenger] Document TransportMessageIdStamp support in AMQP transport

Fixes #20659

Commits
-------

d36326df9 [Messenger] Document TransportMessageIdStamp support in AMQP transport
This commit is contained in:
Javier Eguiluz
2026-02-06 16:16:17 +01:00

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