Skip to content

Commit c15467e

Browse files
MrYamousjaviereguiluz
authored andcommitted
[Messenger] [Amqp] Add default exchange support
1 parent 1d02e0c commit c15467e

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)