Skip to content

Commit 48e0843

Browse files
committed
minor #14131 Document RecoverableMessageHandlingException (jderusse)
This PR was merged into the 5.1 branch. Discussion ---------- Document RecoverableMessageHandlingException Fixes #13627 Commits ------- 9a74dce Document RecoverableMessageHandlingException
2 parents 97a8429 + 9a74dce commit 48e0843

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
@@ -725,6 +725,15 @@ and should not be retried. If you throw
725725
:class:`Symfony\\Component\\Messenger\\Exception\\UnrecoverableMessageHandlingException`,
726726
the message will not be retried.
727727

728+
729+
Forcing Retrying
730+
~~~~~~~~~~~~~~~~
731+
732+
Sometimes handling a message must fail in a way that you *know* is temporary
733+
and must be retried. If you throw
734+
:class:`Symfony\\Component\\Messenger\\Exception\\RecoverableMessageHandlingException`,
735+
the message will always be retried.
736+
728737
.. _messenger-failure-transport:
729738

730739
Saving & Retrying Failed Messages

0 commit comments

Comments
 (0)