activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Message consumed count at broker end per unit time
Date Tue, 02 Aug 2011 16:19:16 GMT
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.khasnis@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 <torsten@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
>> torsten@fusesource.com
>> tmielke@blogspot.com
>>
>>
>>
>>
>



-- 
http://fusesource.com
http://blog.garytully.com

Mime
View raw message