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

Commit48c13ea

Browse files
[Messenger] Add AddFifoStamp middleware for SQS
1 parent80f7c9e commit48c13ea

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎messenger.rst‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1810,6 +1810,17 @@ The transport has a number of options:
18101810
If the queue name is suffixed by ``.fifo``, AWS will create a `FIFO queue`_.
18111811
Use the stamp:class:`Symfony\\Component\\Messenger\\Bridge\\AmazonSqs\\Transport\\AmazonSqsFifoStamp`
18121812
to define the ``Message group ID`` and the ``Message deduplication ID``.
1813+
You can also enable the
1814+
:class:`Symfony\\Component\\Messenger\\Bridge\\AmazonSqs\\Middleware\\AddFifoStampMiddleware`
1815+
for a particular bus to automatically add the stamp on any message going
1816+
through it. You can learn more about middlewares in
1817+
:ref:`the dedicated section<messenger_middleware>`.
1818+
1819+
..versionadded::6.4
1820+
1821+
The
1822+
:class:`Symfony\\Component\\Messenger\\Bridge\\AmazonSqs\\Middleware\\AddFifoStampMiddleware`
1823+
was introduced in Symfony 6.4.
18131824

18141825
FIFO queues don't support setting a delay per message, a value of ``delay: 0``
18151826
is required in the retry strategy settings.
@@ -2379,6 +2390,8 @@ are a variety of different stamps for different purposes and they're used intern
23792390
to track information about a message - like the message bus that's handling it
23802391
or if it's being retried after failure.
23812392

2393+
.. _messenger_middleware:
2394+
23822395
Middleware
23832396
~~~~~~~~~~
23842397

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp