Skip to content

Commit 4b0837d

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: [Messenger] Note about serializer
2 parents b1ec030 + 8e3cd58 commit 4b0837d

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

994+
.. tip::
995+
996+
When sending/receiving messages to/from another application, you may need
997+
more control over the serialization process. Using a custom serializer
998+
provides that control. See `SymfonyCasts' message serializer tutorial`_ for
999+
details.
1000+
9941001
Customizing Handlers
9951002
--------------------
9961003

@@ -1478,3 +1485,4 @@ Learn more
14781485
.. _`Enqueue's transport`: https://github.com/sroze/messenger-enqueue-transport
14791486
.. _`streams`: https://redis.io/topics/streams-intro
14801487
.. _`Supervisor docs`: http://supervisord.org/
1488+
.. _`SymfonyCasts' message serializer tutorial`: https://symfonycasts.com/screencast/messenger/transport-serializer

0 commit comments

Comments
 (0)