The alerting values can be set to default *per queue* values at the virtualhost level by declaring the values at the 'virtualhosts.virtualhost.<vhost-name>.queues' level of the XML configuration. So if setting maxQueueDepth to 1 at that level of configuration, then if *any* queue were to have 2 messages or more on it alerts would be generated into the log (and via JMX if subscribed to the particular queue's notifications) at the configured frequency (which can be set per-virtualhost, and defaults to 30sec I believe).
Further to this, specific alerting threshold values for any queues created using config.xml can also be declared, at the 'virtualhosts.virtualhost.<vhost-name>.queues.queue.<queue-name>' level. There are examples of all such usage in the sample config.xml provided in the distribution or available from the svn repository. Robbie On 17 September 2010 14:53, [email protected] <[email protected]> wrote: > > If the alters are set per virtualhost, how do they relate to queue size, > message count etc? Could you give me an example for one use case of these > value? Let say we set queue size to 1, then how it impact the alerts? > -- > View this message in context: > http://apache-qpid-users.2158936.n2.nabble.com/How-to-configure-queue-in-config-xml-file-tp5486666p5542823.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > Apache Qpid - AMQP Messaging Implementation > Project: http://qpid.apache.org > Use/Interact: mailto:[email protected] > > --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
