Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit78ea193

Browse files
committed
minor#21526 [Messenger] Documentdelete_on_rejection andretry_delay options for SQS (Max Baldanza)
This PR was merged into the 7.4 branch.Discussion----------[Messenger] Document `delete_on_rejection` and `retry_delay` options for SQSFixes:#21506 and#21271Commits-------d6ba4ec [Messenger] Document `delete_on_rejection` and `retry_delay` options for SQS
2 parentsc369a6a +d6ba4ec commit78ea193

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎messenger.rst‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2131,6 +2131,9 @@ The transport has a number of options:
21312131
``debug`` (default: ``false``)
21322132
If ``true`` it logs all HTTP requests and responses (it impacts performance)
21332133

2134+
``delete_on_rejection`` (default: ``true``)
2135+
If ``false`` instead of deleting the message on reject it will instead change the visibility allowing SQS to handle retries.
2136+
21342137
``endpoint`` (default: ``https://sqs.eu-west-1.amazonaws.com``)
21352138
Absolute URL to the SQS service
21362139

@@ -2149,6 +2152,9 @@ The transport has a number of options:
21492152
``region`` (default: ``eu-west-1``)
21502153
Name of the AWS region
21512154

2155+
``retry_delay`` (default: ``0``)
2156+
Only used when ``delete_on_rejection`` is set to ``false``. Defines the visibility timeout sent to SQS when a message is rejected.
2157+
21522158
``secret_key``
21532159
AWS secret key (must be urlencoded)
21542160

@@ -2165,6 +2171,10 @@ The transport has a number of options:
21652171

21662172
The ``queue_attributes`` and ``queue_tags`` options were introduced in Symfony 7.3.
21672173

2174+
..versionadded::7.4
2175+
2176+
The ``delete_on_rejection`` and ``retry_delay`` options were introduced in Symfony 7.4.
2177+
21682178
..note::
21692179

21702180
The ``wait_time`` parameter defines the maximum duration Amazon SQS should

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp