We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
--all
messenger:consume
1 parent 5835fb8 commit 8ebe0ddCopy full SHA for 8ebe0dd
messenger.rst
@@ -485,6 +485,17 @@ The first argument is the receiver's name (or service id if you routed to a
485
custom service). By default, the command will run forever: looking for new messages
486
on your transport and handling them. This command is called your "worker".
487
488
+If you want to consume messages from all available receivers, you can use the
489
+command with the ``--all`` option:
490
+
491
+.. code-block:: terminal
492
493
+ $ php bin/console messenger:consume --all
494
495
+.. versionadded:: 7.1
496
497
+ The ``--all`` option was introduced in Symfony 7.1.
498
499
.. tip::
500
501
To properly stop a worker, throw an instance of
0 commit comments