Skip to content

Commit 50684f7

Browse files
committed
minor #20846 [Messenger] [Amqp] Add default exchange support (MrYamous)
This PR was squashed before being merged into the 7.3 branch. Discussion ---------- [Messenger] [Amqp] Add default exchange support Fixes #20835 Commits ------- c15467e [Messenger] [Amqp] Add default exchange support
2 parents 32e93b8 + c15467e commit 50684f7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

messenger.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,11 +1645,15 @@ The transport has a number of options:
16451645
Exchange flags
16461646

16471647
``exchange[name]``
1648-
Name of the exchange
1648+
Name of the exchange, an empty string can be used to use the default exchange
16491649

16501650
``exchange[type]`` (default: ``fanout``)
16511651
Type of exchange
16521652

1653+
.. versionadded:: 7.3
1654+
1655+
Empty string support for ``exchange[name]`` was introduced in Symfony 7.3.
1656+
16531657
You can also configure AMQP-specific settings on your message by adding
16541658
:class:`Symfony\\Component\\Messenger\\Bridge\\Amqp\\Transport\\AmqpStamp` to
16551659
your Envelope::

0 commit comments

Comments
 (0)