[rabbitmq-discuss] Program to get list_queues from client RabbitMQ.
Emile Joubert
emile at rabbitmq.com
Tue Mar 15 12:51:07 GMT 2011
Hi Waseem,
Queue enumeration does not form part of the AMQP specification, so there
is no way of implementing this using only AMQP.
If you are unable to install a plugin to help then another option is to
implement the same interface that rabbitmqctl uses internally to
communicate with the broker:
http://hg.rabbitmq.com/rabbitmq-server/file/rabbitmq_v2_3_1/src/rabbit_control.erl#l232
If your utility must be written in Java then the Jinterface
documentation will be useful:
http://www.erlang.org/doc/apps/jinterface/jinterface_users_guide.html
Regards
Emile
On 15/03/11 11:29, Waseem Hawaldar wrote:
> I think this is a server side plugins. But, I am need of implementing
> some small utility for this. Please provide me with some necessary
> details for implementing this.
>
>
> Regards, Waseem
>
>
>
>
> -----Original Message----- From: Emile Joubert
> [mailto:emile at rabbitmq.com] Sent: Tuesday, March 15, 2011 2:50 PM To:
> Waseem Hawaldar Cc: rabbitmq-discuss at lists.rabbitmq.com Subject: Re:
> Program to get list_queues from client RabbitMQ.
>
> Hi Waseem,
>
> On 15/03/11 07:31, Waseem Hawaldar wrote:
>> Hello ,
>>
>> I want to write a small program which can give me list_queues data
>> from client RabbitMQ without using command prompt. So may I know
>> how this can be done.
>
> The management& monitoring plugin provides a commandline tool
> (rabbitmqadmin) and an HTTP API that can provide this information:
>
> http://www.rabbitmq.com/management.html#http-api
More information about the rabbitmq-discuss
mailing list