mirror of
https://github.com/symfony/symfony-docs.git
synced 2026-03-23 16:22:10 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user