[rabbitmq-discuss] auto-delete connections?

Matthias Radestock matthias at rabbitmq.com
Sat Jul 20 00:03:31 BST 2013


On 19/07/13 23:52, Kapil Goyal wrote:
> Is there a way to tell RabbitMQ to drop all connections from a user when
> the user is deleted from RabbitMQ?

for conn in `rabbitmqctl list_connections -q user pid | grep -e "^guest 
" | cut -f 2`; do rabbitmqctl close_connection  ${conn} bye; done

Matthias.


More information about the rabbitmq-discuss mailing list