Skip to content

Commit b0f9142

Browse files
committed
mention RetryableException
1 parent ec50b76 commit b0f9142

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

messenger.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,9 +632,12 @@ See the `Supervisor docs`_ for more details.
632632
Retries & Failures
633633
------------------
634634

635-
If an exception is thrown while consuming a message from a transport it will
636-
automatically be re-sent to the transport to be tried again. By default, a message
637-
will be retried 3 times before being discarded or
635+
If an exception is thrown while consuming a message from a transport it can
636+
automatically be re-sent to the transport to be tried again - please check the
637+
actual implementation of the transport you use. For example, in case of the Doctrine
638+
the thrown exception must implement :class:`Doctrine\DBAL\Exception\RetryableException`,
639+
otherwise the message will be lost.
640+
By default, a message will be retried 3 times before being discarded or
638641
:ref:`sent to the failure transport <messenger-failure-transport>`. Each retry
639642
will also be delayed, in case the failure was due to a temporary issue. All of
640643
this is configurable for each transport:

0 commit comments

Comments
 (0)