Skip to content

Commit fc57261

Browse files
committed
minor #14585 [Messenger] Add mention about serialize in inMemory transport dsn (tyx)
This PR was merged into the 5.3-dev branch. Discussion ---------- [Messenger] Add mention about serialize in inMemory transport dsn <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> fix #14584 Commits ------- 26dfa83 [Messenger] Add mention about serialize in inMemory transport dsn
2 parents 1359368 + 26dfa83 commit fc57261

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

messenger.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1316,6 +1316,15 @@ during a request::
13161316
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`
13171317
or :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`.
13181318

1319+
.. tip::
1320+
1321+
Using ``in-memory://?serialize=true`` as dsn will perform message serialization as real asynchronous transport will do.
1322+
Useful to test an additional layer, especially when you use your own message serializer.
1323+
1324+
.. versionadded:: 5.3
1325+
1326+
The ``in-memory://?serialize=true`` dsn was introduced in Symfony 5.3.
1327+
13191328
Amazon SQS
13201329
~~~~~~~~~~
13211330

0 commit comments

Comments
 (0)