You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the message will always be retried infinitely and ``max_retries`` setting will be ignored.
1136
1136
1137
-
If you want to override retry delay form the retry strategy. You can achieve this
1138
-
using by providing it in the exception, using the ``getRetryDelay()`` method from :class:`Symfony\\Component\\Messenger\\Exception\\RecoverableExceptionInterface`.
1137
+
You can define a custom retry delay (e.g., to use the value from the ``Retry-After``
1138
+
header in an HTTP response) by setting the ``retryDelay`` argument in the
1139
+
constructor of the ``RecoverableMessageHandlingException``.
1139
1140
1140
1141
.. versionadded:: 7.2
1141
1142
1142
-
The method ``getRetryDelay()`` was introduced in Symfony 7.2.
1143
+
The ``retryDelay`` argument and the ``getRetryDelay()`` method were introduced
0 commit comments