From 215b6a681b8f1de5237ac7e6c174c52451c35395 Mon Sep 17 00:00:00 2001 From: Antoine Makdessi Date: Wed, 16 Mar 2022 17:25:00 +0100 Subject: [PATCH] Document connection_name in Messenger AMQP transport connection Close https://github.com/symfony/symfony-docs/issues/16523 --- messenger.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/messenger.rst b/messenger.rst index a16eba95ab2..84493f1d471 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1196,6 +1196,8 @@ The transport has a number of options: greater seconds. May be fractional. ``retry`` ``sasl_method`` +``connection_name`` For custom connection names (requires at least + version 1.10 of the PHP AMQP extension) ``user`` Username to use to connect the AMQP service ``verify`` Enable or disable peer verification. If peer verification is enabled then the common name in @@ -1220,6 +1222,10 @@ The transport has a number of options: ``exchange[type]`` Type of exchange ``fanout`` ============================================ ================================================= =================================== +.. versionadded:: 6.1 + + The ``connection_name`` option was introduced in Symfony 6.1. + You can also configure AMQP-specific settings on your message by adding :class:`Symfony\\Component\\Messenger\\Bridge\\Amqp\\Transport\\AmqpStamp` to your Envelope::