[rabbitmq-discuss] rabbitmq Mnesia database

Ying He yhe at usatech.com
Thu Apr 3 21:16:45 BST 2008


Hi, Mathias,
Yes, we want to inspect the messages currently held by the queue
"queuename". I sent to the mailist before to suggest it will be good to
see how many messages has been gone through the queue, how many are
still being held...

If you can advise how to use running erlang to inspect the queue with
its message, that will be great. Thank you.

Best,
Ying

-----Original Message-----
From: Matthias Radestock [mailto:matthias at lshift.net] 
Sent: Thursday, April 03, 2008 3:11 PM
To: Ying He
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] rabbitmq Mnesia database

Ying,

Ying He wrote:
> If I have a rabbitmq server running on localhost and the 
> producers/consumers are using realm "/data", queue name "queuename" ,
do 
> you know what is the way to examine the data in mnesia database?
> 
> Which table should we look for the messages being exchanged for 
> producers/consumers?

AMQP messages do not pass through mnesia. Mnesia only stores routing and

administrative data.

What are you trying to accomplish? Do you want to inspect the messages 
currently held by the queue "queuename"? There isn't really a convenient

way of doing that. You would have to inspect the state of the running 
Erlang process for that queue.


Matthias.




More information about the rabbitmq-discuss mailing list