[rabbitmq-discuss] Getting connections by port
Simon MacMullen
simon at rabbitmq.com
Wed Mar 20 13:40:01 GMT 2013
On 20/03/13 13:32, Ben Hood wrote:
> If I want to query rabbit_mgmt_db:get_connections/1 for a specific port,
> what should the argument be?
Really get_connections([Name]) is a misfeature and will become
get_connection(Name) in a future release. There's no way to query the
mgmt db filtering on an arbitrary value; it's probably not too expensive
to ask for all connections then filter yourself.
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list