File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1312,6 +1312,9 @@ to retry them:
1312
1312
# remove all messages in the failure transport
1313
1313
$ php bin/console messenger:failed:remove --all
1314
1314
1315
+ # remove only MyClass messages
1316
+ $ php bin/console messenger:failed:remove --class-filter='MyClass'
1317
+
1315
1318
If the message fails again, it will be re-sent back to the failure transport
1316
1319
due to the normal :ref: `retry rules <messenger-retries-failures >`. Once the max
1317
1320
retry has been hit, the message will be discarded permanently.
@@ -1321,6 +1324,11 @@ retry has been hit, the message will be discarded permanently.
1321
1324
The option to skip a message in the ``messenger:failed:retry `` command was
1322
1325
introduced in Symfony 7.2
1323
1326
1327
+ .. versionadded :: 7.3
1328
+
1329
+ The option to filter by a message class in the ``messenger:failed:remove `` command was
1330
+ introduced in Symfony 7.3
1331
+
1324
1332
Multiple Failed Transports
1325
1333
~~~~~~~~~~~~~~~~~~~~~~~~~~
1326
1334
You can’t perform that action at this time.
0 commit comments