Skip to content

Commit ba1d41e

Browse files
committed
Merge branch '5.0'
* 5.0: [Messenger] Note about serializer
2 parents 9797f63 + 4b0837d commit ba1d41e

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
@@ -1025,6 +1025,13 @@ If you *do* choose to use the Symfony serializer, you can control the context
10251025
on a case-by-case basis via the :class:`Symfony\\Component\\Messenger\\Stamp\\SerializerStamp`
10261026
(see `Envelopes & Stamps`_).
10271027

1028+
.. tip::
1029+
1030+
When sending/receiving messages to/from another application, you may need
1031+
more control over the serialization process. Using a custom serializer
1032+
provides that control. See `SymfonyCasts' message serializer tutorial`_ for
1033+
details.
1034+
10281035
Customizing Handlers
10291036
--------------------
10301037

@@ -1512,3 +1519,4 @@ Learn more
15121519
.. _`Enqueue's transport`: https://github.com/sroze/messenger-enqueue-transport
15131520
.. _`streams`: https://redis.io/topics/streams-intro
15141521
.. _`Supervisor docs`: http://supervisord.org/
1522+
.. _`SymfonyCasts' message serializer tutorial`: https://symfonycasts.com/screencast/messenger/transport-serializer

0 commit comments

Comments
 (0)