From 9d5ac10a2ef08c0e7af3c52e699beabe19a1352a Mon Sep 17 00:00:00 2001 From: fguimier Date: Thu, 10 Dec 2020 11:55:37 +0100 Subject: [PATCH] Update messenger.rst Update exemples for the messenger:failed:show command Add documentation regarding this PR https://github.com/symfony/symfony/pull/39330 --- messenger.rst | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/messenger.rst b/messenger.rst index 0f85773905d..b7fcf40f93e 100644 --- a/messenger.rst +++ b/messenger.rst @@ -924,8 +924,17 @@ to retry them: .. code-block:: terminal - # see all messages in the failure transport + # see all messages in the failure transport with a default limit of 50 $ php bin/console messenger:failed:show + + # see the 10 first messages + $ php bin/console messenger:failed:show --max=10 + + # see only MyClass messages + $ php bin/console messenger:failed:show --class-filter='MyClass' + + # see the number of messages by message class + $ php bin/console messenger:failed:show --stats # see details about a specific failure $ php bin/console messenger:failed:show 20 -vv