File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -535,6 +535,18 @@ command with the ``--all`` option:
535535
536536 $ php bin/console messenger:consume --all
537537
538+ When using ``--all ``, you can exclude specific receivers using the ``--exclude-receivers ``
539+ option (shortcut ``-eq ``):
540+
541+ .. code-block :: terminal
542+
543+ $ php bin/console messenger:consume --all --exclude-receivers=async_priority_low --exclude-receivers=failed
544+
545+ .. note ::
546+
547+ The ``--exclude-receivers `` option can only be used together with ``--all ``.
548+ Also, you cannot exclude all receivers.
549+
538550Messages that take a long time to process may be redelivered prematurely because
539551some transports assume that an unacknowledged message is lost. To prevent this
540552issue, use the ``--keepalive `` command option to specify an interval (in seconds;
You can’t perform that action at this time.
0 commit comments