File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,15 @@ Here are some important envelope stamps that are shipped with the Symfony Messen
162
162
to configure the validation groups used when the validation middleware is enabled.
163
163
* :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ErrorDetailsStamp `,
164
164
an internal stamp when a message fails due to an exception in the handler.
165
+ * :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ScheduledStamp `,
166
+ a stamp that marks the message as produced by a scheduler. You can learn
167
+ more about it in the :doc: `Scheduler component page </scheduler >`. This helps
168
+ differentiate from messages created "manually".
169
+
170
+ .. versionadded :: 6.4
171
+
172
+ The :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ScheduledStamp ` was
173
+ introduced in Symfony 6.4.
165
174
166
175
.. note ::
167
176
Original file line number Diff line number Diff line change @@ -914,6 +914,15 @@ before being further redispatched to its corresponding handler::
914
914
}
915
915
}
916
916
917
+ When using the ``RedispatchMessage ``, a
918
+ :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ScheduledStamp ` will be attached
919
+ to the message, helping you identify those messages when needed.
920
+
921
+ .. versionadded :: 6.4
922
+
923
+ Automatically attaching a :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ ScheduledStamp `
924
+ to redispatched messages was introduced in Symfony 6.4.
925
+
917
926
.. _`Memoizing` : https://en.wikipedia.org/wiki/Memoization
918
927
.. _`cron command-line utility` : https://en.wikipedia.org/wiki/Cron
919
928
.. _`crontab.guru website` : https://crontab.guru/
You can’t perform that action at this time.
0 commit comments