File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1300,7 +1300,7 @@ Amazon SQS
1300
1300
1301
1301
.. versionadded :: 5.1
1302
1302
1303
- The Amazon SQS transport as introduced in Symfony 5.1.
1303
+ The Amazon SQS transport has been introduced in Symfony 5.1.
1304
1304
1305
1305
The Amazon SQS transport is perfect for application hosted on AWS. Install it by
1306
1306
running:
@@ -1314,14 +1314,25 @@ The SQS transport DSN may looks like this:
1314
1314
.. code-block :: env
1315
1315
1316
1316
# .env
1317
- MESSENGER_TRANSPORT_DSN=sqs ://AKIAIOSFODNN7EXAMPLE:j17M97ffSVoKI0briFoo9a@sqs.eu-west-3.amazonaws.com/messages
1317
+ MESSENGER_TRANSPORT_DSN=https ://AKIAIOSFODNN7EXAMPLE:j17M97ffSVoKI0briFoo9a@sqs.eu-west-3.amazonaws.com/123456789012 /messages
1318
1318
MESSENGER_TRANSPORT_DSN=sqs://localhost:9494/messages?sslmode=disable
1319
1319
1320
1320
.. note ::
1321
1321
1322
1322
The transport will automatically create queues that are needed. This
1323
1323
can be disabled setting the ``auto_setup `` option to ``false ``.
1324
1324
1325
+ .. tip ::
1326
+
1327
+ Before sending or receiving a message, Symfony needs to convert the queue
1328
+ name into an AWS queue URL by calling the ``GetQueueUrl `` API in AWS. This
1329
+ extra API call can be avoided by providing a DSN which is the queue URL.
1330
+
1331
+ .. versionadded :: 5.2
1332
+
1333
+ Providing a DSN equals to the queue URL to avoid call to ``GetQueueUrl ``
1334
+ has been introduced in Symfony 5.2.
1335
+
1325
1336
The transport has a number of options:
1326
1337
1327
1338
====================== ====================================== ===================================
You can’t perform that action at this time.
0 commit comments