GS.Chandra N wrote:
Hi,

I have some doubts about the tools and environment in general and would
someone clear them for me please ?

   1. What is the rate of stats displayed by qpid-queue-stat. I'm confused
   by the fact that it displays "Sec" as 10. So are the stats at 10 sec rate or
   1 sec rate but measured only every 10 secs?
qpid-queue-stat displays the statistics as they are published by the broker. By default, this is every 10 seconds. You can change the rate using the --mgmt-pub-interval switch on the broker's command line. The rates displayed by qpid-queue-stats are normalized to units-per-second.
   2. How do i clear the exchange, server and client queue stats before
   re-running stats - currently i have to bring everything down to get fresh
   stats - this seems extremely cumbersome.
There's no support for clearing the stats but qpid-queue-stats only shows rates and depths which should go to zero by themselves between tests.
   3. Does C++ clients support a management queue like cpp broker, to get
   stats etc?
No.
   4. I create queues with the same name everytime. When i bring down my
   cleitn and reconnect again i seem to get the data from the old queue though
   i have not mentioned persistence as an attribute of my queue. What gives?
You should add "auto_delete=True" to the session.queue_declare function. Otherwise, the queue stays in place between test runs.
   connection.start()
   session = connection.session(str(uuid4()))

   server_q_name = "pyclient-feeds-queue"
   session.queue_declare(queue=server_q_name, exclusive=True)

   local_q_name = "local feeds queue"
   local_q = session.incoming(local_q_name)

   session.message_subscribe(queue=server_q_name, destination=local_q_name)
   local_q.start()

Thanks
Arun

-Ted


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to