File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -1309,22 +1309,23 @@ during a request::
13091309 }
13101310 }
13111311
1312+ The transport has a number of options:
1313+
1314+ ``serialize `` (boolean, default: ``false ``)
1315+ Whether to serialize messages or not. This is useful to test an additional
1316+ layer, especially when you use your own message serializer.
1317+
1318+ .. versionadded :: 5.3
1319+
1320+ The ``serialize `` option was introduced in Symfony 5.3.
1321+
13121322.. note ::
13131323
13141324 All ``in-memory `` transports will be reset automatically after each test **in **
13151325 test classes extending
13161326 :class: `Symfony\\ Bundle\\ FrameworkBundle\\ Test\\ KernelTestCase `
13171327 or :class: `Symfony\\ Bundle\\ FrameworkBundle\\ Test\\ WebTestCase `.
13181328
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-
13281329Amazon SQS
13291330~~~~~~~~~~
13301331
You can’t perform that action at this time.
0 commit comments