8000 [Messenger] Add `--class-filter` option to the `messenger:failed:remo… · symfony/symfony-docs@d355f1d · GitHub
[go: up one dir, main page]

Skip to content

Commit d355f1d

Browse files
[Messenger] Add --class-filter option to the messenger:failed:remove command
1 parent 26e69bd commit d355f1d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

messenger.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1312,6 +1312,9 @@ to retry them:
13121312
# remove all messages in the failure transport
13131313
$ php bin/console messenger:failed:remove --all
13141314
1315+
# remove only MyClass messages
1316+
$ php bin/console messenger:failed:remove --class-filter='MyClass'
1317+
13151318
If the message fails again, it will be re-sent back to the failure transport
13161319
due to the normal :ref:`retry rules <messenger-retries-failures>`. Once the max
13171320
retry has been hit, the message will be discarded permanently.

0 commit comments

Comments
 (0)
0