@@ -148,21 +148,26 @@ through the transport layer, use the ``SerializerStamp`` stamp::
148
148
]))
149
149
);
150
150
151
- At the moment, the Symfony Messenger has the following built-in envelope stamps :
151
+ Here are some important envelope stamps that are shipped with the Symfony Messenger :
152
152
153
- #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ SerializerStamp `,
154
- to configure the serialization groups used by the transport.
155
- #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ValidationStamp `,
156
- to configure the validation groups used when the validation middleware is enabled.
153
+ #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ DelayStamp `,
154
+ to delay handling of an asynchronous message.
155
+ #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ DispatchAfterCurrentBusStamp `,
156
+ to make the message be handled after the current bus has executed. Read more
157
+ at :doc: `/messenger/dispatch_after_current_bus `.
158
+ #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ HandledStamp `,
159
+ a stamp that marks the message as handled by a specific handler.
160
+ Allows accessing the handler returned value and the handler name.
157
161
#. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ReceivedStamp `,
158
162
an internal stamp that marks the message as received from a transport.
159
163
#. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ SentStamp `,
160
164
a stamp that marks the message as sent by a specific sender.
161
165
Allows accessing the sender FQCN and the alias if available from the
162
166
:class: `Symfony\\ Component\\ Messenger\\ Transport\\ Sender\\ SendersLocator `.
163
- #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ HandledStamp `,
164
- a stamp that marks the message as handled by a specific handler.
165
- Allows accessing the handler returned value and the handler name.
167
+ #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ SerializerStamp `,
168
+ to configure the serialization groups used by the transport.
169
+ #. :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ValidationStamp `,
170
+ to configure the validation groups used when the validation middleware is enabled.
166
171
167
172
Instead of dealing directly with the messages in the middleware you receive the envelope.
168
173
Hence you can inspect the envelope content and its stamps, or add any::
0 commit comments