Skip to content

Commit 3efa9aa

Browse files
committed
feature symfony#14807 [Messenger] Mention the WorkerMessageRetriedEvent (javiereguiluz)
This PR was squashed before being merged into the 5.2 branch. Discussion ---------- [Messenger] Mention the WorkerMessageRetriedEvent Fixes symfony#14318. Commits ------- 71e65a1 [Messenger] Mention the WorkerMessageRetriedEvent
2 parents 2712d26 + 71e65a1 commit 3efa9aa

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

messenger.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -716,6 +716,15 @@ this is configurable for each transport:
716716
],
717717
]);
718718
719+
.. tip::
720+
721+
Symfony triggers a :class:`Symfony\\Component\\Messenger\\Event\\WorkerMessageRetriedEvent`
722+
when a message is retried so you can run your own logic.
723+
724+
.. versionadded:: 5.2
725+
726+
The ``WorkerMessageRetriedEvent`` class was introduced in Symfony 5.2.
727+
719728
Avoiding Retrying
720729
~~~~~~~~~~~~~~~~~
721730

0 commit comments

Comments
 (0)