10000 feat: add amazon sqs to docs · Nyholm/symfony-docs@9dd75a9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9dd75a9

Browse files
Simperfitwouterj
authored andcommitted
feat: add amazon sqs to docs
1 parent 4bdb8f8 commit 9dd75a9

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

messenger.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1151,6 +1151,35 @@ during a request::
11511151
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`
11521152
or :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`.
11531153

1154+
Amazon SQS
1155+
~~~~~~~~~~
1156+
1157+
.. versionadded:: 5.1
1158+
1159+
The Amazon SQS transport has been added in Symfony 5.1
1160+
Install it by running:
1161+
1162+
.. code-block:: terminal
1163+
1164+
$ composer require symfony/amazon-sqs-messenger
1165+
1166+
The ``SQS`` transport configuration looks like this:
1167+
1168+
.. code-block:: bash
1169+
1170+
# .env
1171+
MESSENGER_TRANSPORT_DSN=sqs://guest:guest@sqs.eu-west-3.amazonaws.com/test?region=eu-west-3
1172+
1173+
1174+
.. note::
1175+
1176+
By default, the transport will automatically create queue that are needed. That can be disabled.
1177+
1178+
The transport has a number of other options, including ways to configure
1179+
the exchange, queues binding keys and more. See the documentation on
1180+
:class:`Symfony\\Component\\Messenger\\Transport\\AmazonSqs\\Connection`.
1181+
1182+
11541183
Serializing Messages
11551184
~~~~~~~~~~~~~~~~~~~~
11561185

0 commit comments

Comments
 (0)
0