Skip to content

Commit e5b47fc

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [Messenger] Mention the WorkerMessageRetriedEvent
2 parents 13a83e2 + 3efa9aa commit e5b47fc

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)