[rabbitmq-discuss] FW: Durable queue disappears

Sreeni Kankanala Sreeni.Kankanala at palm.com
Thu Sep 11 01:02:11 BST 2008

-----Original Message-----
From: Sreeni Kankanala
Sent: Wednesday, September 10, 2008 4:58 PM
To: 'rabbitmq-discuss-bounces at lists.rabbitmq.com'
Cc: 'Ben Hood'
Subject: RE: [rabbitmq-discuss] Durable queue disappears

Hi Ben

Thanks you very much for your quick reply and I did the following.

root at LT7400JMX3QG1:~# erl -sname rabbitmq -remsh rabbitmq at LT7400JMX3QG1

(rabbitmq at LT7400JMX3QG1)1> rabbit_amqqueue:stat_all().
** exited: {aborted,{no_exists,[amqqueue,[{'$1',[],['$1']}]]}} **

I am getting that error, please suggest, thank you in advance


-----Original Message-----
From: Ben Hood [mailto:0x6e6562 at gmail.com]
Sent: Wednesday, September 10, 2008 3:12 PM
To: Sreeni Kankanala
Cc: RabbitMQ Discuss
Subject: Re: [rabbitmq-discuss] Durable queue disappears


On Wed, Sep 10, 2008 at 10:55 PM, Sreeni Kankanala
<Sreeni.Kankanala at palm.com> wrote:
> Hi Ben,
> I am new to RabbitMQ and trying to use it from y'day.


> Installed rabbitMq 1.4.0 on debian java client on windows, everything looks good, ran some basic admin tasks and sample examples provided.
> My question is wondering is there a way to see the messages, queues in rabbitMQ throw browser or some other means.
> How to use the rabbit_amqqueue:stat_all()?

Normally when you run Rabbit, the name of the Erlang node that it is
running in is called rabbit at YOUR_HOSTNAME.

So to start a remote shell to that node, start a new Erlang shell
using the following command line:

$ erl -sname foo -remsh rabbit at YOUR_HOSTNAME

Then you should see:

Erlang (BEAM) emulator version 5.6.4 [source] [smp:2]
[async-threads:0] [kernel-poll:false]

Eshell V5.6.4  (abort with ^G)
(rabbit at xlr8)1>

(As an aside, if you had run rabbit in the foreground and could access
it's Erlang shell, you would see the following pop up when the 2nd
node connects to it: node foo at xlr8 up).

In the remote shell, type in rabbit_amqqueue:stat_all():

(rabbit at xlr8)1> rabbit_amqqueue:stat_all().

And there you go.

BTW, one request - please post to the list and not to me personally :-)



More information about the rabbitmq-discuss mailing list