Skip to content

Commit 58c9c6f

Browse files
committed
Minor tweak
1 parent c4caf98 commit 58c9c6f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

messenger.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ etc) instead of the object::
323323

324324
// src/Message/NewUserWelcomeEmail.php
325325
namespace App\Message;
326-
326+
327327
class NewUserWelcomeEmail
328328
{
329329
private $userId;
@@ -717,9 +717,16 @@ to retry them:
717717
# retry specific messages
718718
$ php bin/console messenger:failed:retry 20 30 --force
719719
720+
# remove a message without retrying it
721+
$ php bin/console messenger:failed:remove 20
722+
720723
# remove messages without retrying them and show each message before removing it
721724
$ php bin/console messenger:failed:remove 20 30 --show-messages
722725
726+
.. versionadded:: 5.1
727+
728+
The ``--show-messages`` option was introduced in Symfony 5.1.
729+
723730
If the message fails again, it will be re-sent back to the failure transport
724731
due to the normal :ref:`retry rules <messenger-retries-failures>`. Once the max
725732
retry has been hit, the message will be discarded permanently.

0 commit comments

Comments
 (0)