[rabbitmq-discuss] How to identify connection?

Emile Joubert emile at rabbitmq.com
Fri Jun 7 08:59:15 BST 2013


On 07/06/13 07:58, Наиль Салихов wrote:
> Hello, is there way to get connection name in .NET API, because I need
> to identify connections?


While not accessible directly from the API you can use the socket
details of the client to determine the connection on the server.

You can also get the connection from a consumer tag:
look up channel pid from consumer tag with "rabbitmqctl list_consumers"
look up connection from the channel pid with "rabbitmqctl list_channels"





-Emile







More information about the rabbitmq-discuss mailing list