[rabbitmq-discuss] Way to get federation status for a particular exchange

Simon MacMullen simon at rabbitmq.com
Thu Sep 25 13:49:42 BST 2014


On 25/09/14 13:44, Badjatya, Nikunj wrote:
> {{{
> user at server:~> sudo rabbitmqctl eval '["MyExchange" || " MyExchange " <- rabbit_federation_status:status(),proplists:get_value(exchange, " MyExchange ") =:= <<"amq.topic">>].'
> []
> ...done.
> user at server:~>
> }}}
>
> Is this the right syntax?

No, the 'S's in the example I posted were meant literally. The only bit 
you should replace is "amq.topic".

Cheers, Simon



More information about the rabbitmq-discuss mailing list