Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -543,6 +543,19 @@ command with the ``--all`` option:

The ``--all`` option was introduced in Symfony 7.1.

The ``--keepalive`` option can be used to prevent messages from being prematurely
redelivered during long-running processing. It marks the message as "in progress"
and prevents it from being redelivered until the worker finishes processing it.

.. note::

This option is only available for supported transports, which are
the Beanstalkd and AmazonSQS transports.

.. versionadded:: 7.2

The ``--keepalive`` option was introduced in Symfony 7.2.

.. tip::

In a development environment and if you're using the Symfony CLI tool,
Expand Down Expand Up @@ -1709,6 +1722,10 @@ The transport has a number of options:
The message time to run before it is put back in the ready queue - in
seconds.

.. versionadded:: 7.2

Keepalive support, using the ``--keepalive`` option, was added in Symfony 7.2.

.. _messenger-redis-transport:

Redis Transport
Expand Down Expand Up @@ -2031,6 +2048,10 @@ The transport has a number of options:
FIFO queues don't support setting a delay per message, a value of ``delay: 0``
is required in the retry strategy settings.

.. versionadded:: 7.2

Keepalive support, using the `--keepalive` option, was added in Symfony 7.2.

Serializing Messages
~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading