File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -647,23 +647,23 @@ You can limit the worker to only process messages from specific queue(s):
647
647
648
648
.. _messenger-message-count :
649
649
650
- Knowing the number of messages in the "queue" for transport(s)
651
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
650
+ Checking the Number of Queued Messages Per Transport
651
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
652
652
653
- If you want to know how many messages are in the "queues",
654
- you can do so with the `` messenger:stats `` command :
653
+ Run the `` messenger:stats `` command to know how many messages are in the "queues"
654
+ of some or all transports :
655
655
656
656
.. code-block :: terminal
657
657
658
- # displays the number of messages in the "queue" for all transports
658
+ # displays the number of queued messages in all transports
659
659
$ php bin/console messenger:stats
660
660
661
- # or specific transport(s) only
661
+ # shows stats only for some transports
662
662
$ php bin/console messenger:stats my_transport_name other_transport_name
663
663
664
664
.. note ::
665
665
666
- This command won't work if the configured transport's receiver does not implement
666
+ In order for this command to work, the configured transport's receiver must implement
667
667
:class: `Symfony\\ Component\\ Messenger\\ Transport\\ Receiver\\ MessageCountAwareInterface `.
668
668
669
669
.. versionadded :: 6.2
You can’t perform that action at this time.
0 commit comments