Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 09d4c7a

Browse files
Nyholmjaviereguiluz
authored andcommitted
[Messenger] Note about serializer
1 parent 5e09312 commit 09d4c7a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

messenger.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,13 @@ If you *do* choose to use the Symfony serializer, you can control the context
10231023
on a case-by-case basis via the :class:`Symfony\\Component\\Messenger\\Stamp\\SerializerStamp`
10241024
(see `Envelopes & Stamps`_).
10251025

1026+
.. tip::
1027+
1028+
When sending/receiving messages to/from another application, it could be a good
1029+
idea to have more control over the serialization process. Using a custom serializer
1030+
provides that control. See `Symfony Casts' message serializer tutorial`_ for
1031+
details.
1032+
10261033
Customizing Handlers
10271034
--------------------
10281035

@@ -1514,3 +1521,4 @@ Learn more
15141521
.. _`Enqueue's transport`: https://github.com/sroze/messenger-enqueue-transport
15151522
.. _`streams`: https://redis.io/topics/streams-intro
15161523
.. _`Supervisor docs`: http://supervisord.org/
1524+
.. _`Symfony Casts' message serializer tutorial`: https://symfonycasts.com/screencast/messenger/transport-serializer

0 commit comments

Comments
 (0)