Skip to content

Commit e16818e

Browse files
committed
Minor tweak
1 parent 0010570 commit e16818e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

messenger.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -604,16 +604,13 @@ transport is always bound to an exchange. By default, the worker consumes from a
604604
queues attached to the exchange of the specified transport. However, there are use
605605
cases to want a worker to only consume from specific queues.
606606

607-
You can limit the worker to only process messages from specific queue:
607+
You can limit the worker to only process messages from specific queue(s):
608608

609609
.. code-block:: terminal
610610
611611
$ php bin/console messenger:consume my_transport --queues=fasttrack
612612
613-
Or you can limit the worker to only process messages from specific queues:
614-
615-
.. code-block:: terminal
616-
613+
# you can pass the --queues option more than once to process multiple queues
617614
$ php bin/console messenger:consume my_transport --queues=fasttrack1 --queues=fasttrack2
618615
619616
To allow using the ``queues`` option, the receiver must implement the

0 commit comments

Comments
 (0)