The messageconsumed/messagedelivered are used for advisory support and their use is conditional on the destination policy attributes, advisoryForConsumed and advisoryForDelivery, by default they are false.
On 1 August 2011 17:06, kaustubh khasnis <kaustubh.khas...@gmail.com> wrote: > Hi, > Thanks for the reply, I instead chose to write a broker plugin which will > keep on calculating the stats and send to a central server. The counters I > am increamenting in send method and postProcessDispatch method. somehow It > looks like messageconsumed and messagedelivered methods are not being called > at all? Do you know the reason behind this? > > --Kaustubh > > > On Mon, Aug 1, 2011 at 1:57 PM, Torsten Mielke <tors...@fusesource.com>wrote: > >> I am afraid there is no JMX MBean or other plugin that calculates the >> amount of msgs consumed/produced per second. >> It should not be too difficult to write a little tool yourself, you simply >> need to query the queues JMX properties at fixed intervals and then >> calculate the rate per second. >> >> >> Torsten Mielke >> tors...@fusesource.com >> tmie...@blogspot.com >> >> >> >> > -- http://fusesource.com http://blog.garytully.com