File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff 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+
723730If the message fails again, it will be re-sent back to the failure transport
724731due to the normal :ref: `retry rules <messenger-retries-failures >`. Once the max
725732retry has been hit, the message will be discarded permanently.
You can’t perform that action at this time.
0 commit comments