Skip to content

Commit 52a7157

Browse files
committed
[Messenger] Rename the messenger:consume-messages command
1 parent 7bacdf5 commit 52a7157

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

messenger.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -410,19 +410,23 @@ while still having them passed to their respective handler:
410410
Consuming Messages
411411
------------------
412412

413-
Once your messages have been routed, you will like to consume your messages in most
414-
of the cases. To do so, you can use the ``messenger:consume-messages`` command
415-
like this:
413+
Once your messages have been routed, you will like to consume your messages in
414+
most of the cases. To do so, use the ``messenger:consume`` command like this:
416415

417416
.. code-block:: terminal
418417
419-
$ php bin/console messenger:consume-messages amqp
418+
$ php bin/console messenger:consume amqp
420419
421420
The first argument is the receiver's service name. It might have been created by
422421
your ``transports`` configuration or it can be your own receiver.
423422
It also requires a ``--bus`` option in case you have multiple buses configured,
424423
which is the name of the bus to which received messages should be dispatched.
425424

425+
.. versionadded:: 4.3
426+
427+
The ``messenger:consume`` command was renamed in Symfony 4.3 (previously it
428+
was called ``messenger:consume-messages``).
429+
426430
Middleware
427431
----------
428432

0 commit comments

Comments
 (0)