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::
323
323
324
324
// src/Message/NewUserWelcomeEmail.php
325
325
namespace App\Message;
326
-
326
+
327
327
class NewUserWelcomeEmail
328
328
{
329
329
private $userId;
@@ -717,9 +717,16 @@ to retry them:
717
717
# retry specific messages
718
718
$ php bin/console messenger:failed:retry 20 30 --force
719
719
720
+ # remove a message without retrying it
721
+ $ php bin/console messenger:failed:remove 20
722
+
720
723
# remove messages without retrying them and show each message before removing it
721
724
$ php bin/console messenger:failed:remove 20 30 --show-messages
722
725
726
+ .. versionadded :: 5.1
727
+
728
+ The ``--show-messages `` option was introduced in Symfony 5.1.
729
+
723
730
If the message fails again, it will be re-sent back to the failure transport
724
731
due to the normal :ref: `retry rules <messenger-retries-failures >`. Once the max
725
732
retry has been hit, the message will be discarded permanently.
You can’t perform that action at this time.
0 commit comments