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
13001300
13011301.. versionadded :: 5.1
13021302
1303- The Amazon SQS transport as introduced in Symfony 5.1.
1303+ The Amazon SQS transport has been introduced in Symfony 5.1.
13041304
13051305The Amazon SQS transport is perfect for application hosted on AWS. Install it by
13061306running:
@@ -1314,14 +1314,25 @@ The SQS transport DSN may looks like this:
13141314.. code-block :: env
13151315
13161316 # .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
13181318 MESSENGER_TRANSPORT_DSN=sqs://localhost:9494/messages?sslmode=disable
13191319
13201320 .. note ::
13211321
13221322 The transport will automatically create queues that are needed. This
13231323 can be disabled setting the ``auto_setup `` option to ``false ``.
13241324
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+
13251336The transport has a number of options:
13261337
13271338====================== ====================================== ===================================
You can’t perform that action at this time.
0 commit comments