File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2573,10 +2573,10 @@ of the process. For each, the event class is the event name:
25732573Message Serializer For Custom Data Formats
25742574~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25752575
2576- It is likely that you receive messages from other applications that are not
2576+ If you receive messages from other applications, it's possible that they are not
25772577exactly in the format you need. Not all applications will return a JSON message
2578- with ``body `` and ``headers `` fields. In this case , you'll need to
2579- create a new message serializer. This can be done by implementing the
2578+ with ``body `` and ``headers `` fields. In those cases , you'll need to create a
2579+ new message serializer implementing the
25802580:class: `Symfony\\ Component\\ Messenger\\ Transport\\ Serialization\\ SerializerInterface `.
25812581Let's say you want to create a message decoder::
25822582
@@ -2613,7 +2613,8 @@ Let's say you want to create a message decoder::
26132613 }
26142614 }
26152615
2616- Now that this serializer is created, you can use it in your transport:
2616+ The next step is to tell Symfony to use this serializer in one or more of your
2617+ transports:
26172618
26182619.. configuration-block ::
26192620
You can’t perform that action at this time.
0 commit comments