Skip to content
Prev Previous commit
Next Next commit
Typos
  • Loading branch information
Nyholm authored and wouterj committed Oct 13, 2020
commit 7d530ac7227041614eea94ea347cfc3b397f65f6
6 changes: 3 additions & 3 deletions messenger.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1200,17 +1200,17 @@ auto_setup Whether the table should be created true

.. note::

The ``wait_time`` parameter define the maximum duration Amazon SQS should
The ``wait_time`` parameter defines the maximum duration Amazon SQS should
wait until a message is available in a queue before sending a response.
It helps reducing the cost of using Amazon SQS by eliminating the number
of empty responses.

The ``poll_timeout`` parameter define the duration the receiver should wait
The ``poll_timeout`` parameter defines the duration the receiver should wait
before returning null. It avoids blocking other receivers from being called.

.. note::

If the queue name is suffixed by ``.fifo``, AWS will creates a `FIFO queue`_.
If the queue name is suffixed by ``.fifo``, AWS will create a `FIFO queue`_.
Use the stamp :class:`Symfony\\Component\\Messenger\\Bridge\\AmazonSqs\\Transport\\AmazonSqsFifoStamp`
to define the ``Message group ID`` and the ``Message deduplication ID``.

Expand Down