Skip to content

Commit 215b6a6

Browse files
94noniwouterj
authored andcommitted
Document connection_name in Messenger AMQP transport connection
Close #16523
1 parent 3aa06f8 commit 215b6a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

messenger.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,8 @@ The transport has a number of options:
11961196
greater seconds. May be fractional.
11971197
``retry``
11981198
``sasl_method``
1199+
``connection_name`` For custom connection names (requires at least
1200+
version 1.10 of the PHP AMQP extension)
11991201
``user`` Username to use to connect the AMQP service
12001202
``verify`` Enable or disable peer verification. If peer
12011203
verification is enabled then the common name in
@@ -1220,6 +1222,10 @@ The transport has a number of options:
12201222
``exchange[type]`` Type of exchange ``fanout``
12211223
============================================ ================================================= ===================================
12221224

1225+
.. versionadded:: 6.1
1226+
1227+
The ``connection_name`` option was introduced in Symfony 6.1.
1228+
12231229
You can also configure AMQP-specific settings on your message by adding
12241230
:class:`Symfony\\Component\\Messenger\\Bridge\\Amqp\\Transport\\AmqpStamp` to
12251231
your Envelope::

0 commit comments

Comments
 (0)