Skip to content

Commit 45a55fe

Browse files
committed
docs
1 parent de9b15a commit 45a55fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/service-library/src/servicelib/rabbitmq/_client_rpc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ async def create(
3636
return client
3737

3838
async def _rpc_initialize(self) -> None:
39+
# NOTE: to show the connection name in the rabbitMQ UI see there
40+
# https://www.bountysource.com/issues/89342433-setting-custom-connection-name-via-client_properties-doesn-t-work-when-connecting-using-an-amqp-url
41+
#
3942
connection_name = f"{get_rabbitmq_client_unique_name(self.client_name)}.rpc"
4043
url = f"{self.settings.dsn}?name={connection_name}"
4144
self._connection = await aio_pika.connect_robust(

0 commit comments

Comments
 (0)