RabbitMQ Connections

In rabbitmq, connection is a TCP connection between our application and the rabbitmq broker. In rabbitmq web management portal, we can see all the live connections between rabbitmq broker and applications under Connections tab.

 

In rabbitmq web management portal, the Connections tab will show all the live connections of both producer and consumer messages along with that it will also show usernames of each connection with the state of connection. In case, if you are using SSL/TLS, then it will indicate with a dark dot “.” in the connection and it will also show which protocol is used and from client & to client network utilization details like as shown below.

 

RabbitMQ Connection Details

 

In case, if you want to see the details of particular connection in rabbitmq, then click on respective connection name like as shown below.

 

RabbitMQ Particular Connection Details.

 RabbitMQ Connection Overview

After clicking on particular connection name, it will show all details of that connection along with data rates, channels, client properties, runtime metrics, and finally close connection like as shown below.

 

RabbitMQ Connections Overview Dashboard

 RabbitMQ Close Connection

In case, if you want to close the connection, then you can open “close this connection” tab type the reason and click on Force Close button like as shown below.

 

RabbitMQ Close Connection

 

This is how we can manage the connections in rabbitmq web management portal based on our requirements.

 
 
 

Topics Covered