File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -339,6 +339,20 @@ to multiple transports:
339
339
from ``Notification ``, both the routing for ``Notification `` and
340
340
``SmsNotification `` will be used.
341
341
342
+ .. tip ::
343
+
344
+ You can define and override the transport that a message is using at
345
+ runtime by using the
346
+ :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ TransportNamesStamp ` on
347
+ the envelope of the message. This stamp takes an array of transport
348
+ name as its only argument. For more information about stamps, see
349
+ `Envelopes & Stamps `_.
350
+
351
+ .. versionadded :: 6.2
352
+
353
+ The :class: `Symfony\\ Component\\ Messenger\\ Stamp\\ TransportNamesStamp `
354
+ stamp was introduced in Symfony 6.2.
355
+
342
356
Doctrine Entities in Messages
343
357
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
344
358
You can’t perform that action at this time.
0 commit comments