Skip to content

[Messenger] Clarify UnrecoverableMessageHandlingException message going to failure transport #19449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,12 @@ and should not be retried. If you throw
:class:`Symfony\\Component\\Messenger\\Exception\\UnrecoverableMessageHandlingException`,
the message will not be retried.

.. note::

Messages that will not be retried, will still show up in the configured failure transport.
If you want to avoid that, consider handling the error yourself and let the handler
successfully end.

Forcing Retrying
~~~~~~~~~~~~~~~~

Expand Down