Skip to content

Commit 26dfa83

Browse files
committed
[Messenger] Add mention about serialize in inMemory transport dsn
1 parent c3f0447 commit 26dfa83

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
@@ -1295,6 +1295,15 @@ during a request::
12951295
:class:`Symfony\\Bundle\\FrameworkBundle\\Test\\KernelTestCase`
12961296
or :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\WebTestCase`.
12971297

1298+
.. tip::
1299+
1300+
Using ``in-memory://?serialize=true`` as dsn will perform message serialization as real asynchronous transport will do.
1301+
Useful to test an additional layer, especially when you use your own message serializer.
1302+
1303+
.. versionadded:: 5.3
1304+
1305+
The ``in-memory://?serialize=true`` dsn was introduced in Symfony 5.3.
1306+
12981307
Amazon SQS
12991308
~~~~~~~~~~
13001309

0 commit comments

Comments
 (0)