8000 feature #45436 [Messenger] Support setting `connection_name` for AMQP… · symfony/symfony@0294c11 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0294c11

Browse files
feature #45436 [Messenger] Support setting connection_name for AMQP (a.dmitryuk)
This PR was merged into the 6.1 branch. Discussion ---------- [Messenger] Support setting `connection_name` for AMQP | Q | A | ------------- | --- | Branch? | 6.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | License | MIT | Doc PR | Will add if needed The PR provides an opportunity to set "[connection_name](https://www.rabbitmq.com/connections.html)" for AMQP messenger connection to understand and debug connections like this: ```php ['options' => [ 'connection_name' => $hostname . ' backend ' . time(), ] ]; ``` RabbitMQ UI ![image](https://user-images.githubusercontent.com/661654/154217123-045d28e7-a582-45e3-a2c5-129de8188e3d.png) Commits ------- 0c7032b Support setting `connection_name` for AMQP
2 parents 65b7fa1 + 0c7032b commit 0294c11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/Messenger/Bridge/Amqp/Transport/Connection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class Connection
5757
'key',
5858
'verify',
5959
'sasl_method',
60+
'connection_name',
6061
];
6162

6263
private const AVAILABLE_QUEUE_OPTIONS = [

0 commit comments

Comments
 (0)
0