activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Singer <Michal.Sin...@expand.com>
Subject Re: TotalEnqueueCount,TotalDequeueCount,TotalMessages in JMX activemq does not work as i would expect
Date Mon, 07 Jul 2008 05:20:54 GMT

What you explained is what i understood should be:
so i would expect that if all messages are consumed by clients, that:
TotalEnqueue=TotalMessages=TotalDequeue

But this is not what i see as I mentioned before. (what i see is:
TotalMessages+TotalDequeue=TotalEnqueue)
I still don't understand why i don't get what you mentioned.
Can you explain why?

Thanks



rajdavies wrote:
> 
> The total messages  should be the number of messages in the broker at  
> that time,
> the total enqueue count = the number of messages sent to the broker
> the total dequeue count = the number of messages consumed by clients
> 
> though the behaviour is slightly different between queues and topics  
> (e.g. enqueues get decremented for topics if messages expire - but not  
> for queues)
> 
> I'd like some feedback on what statistics people would like to see/  
> some more intuitive names etc ?
> 
> On 7 Jul 2008, at 05:42, Michal Singer wrote:
> 
>>
>> I am using a snapshot of 5.2: apache-activemq-5.2-20080619.135742-2- 
>> bin
>> Can you explain the meaning of these attributes and what they should  
>> hold,
>> since i don't understand them.
>> Thanks, Michal
>>
>>
>> rajdavies wrote:
>>>
>>>
>>> On 6 Jul 2008, at 13:40, Michal Singer wrote:
>>>
>>>>
>>>> When i observe the JMX activemq broker node: I see that
>>>> TotalMessages + TotalDequeueCount = TotalEnqueueCount
>>>>
>>>> I would expect that the TotalEnqueueCount = TotalDequeueCount =
>>>> TotalMessages
>>>> Am i wrong? why is the first equation correct?
>>>>
>>>> Thanks
>>>> --  
>>>> View this message in context:
>>>> http://www.nabble.com/TotalEnqueueCount%2CTotalDequeueCount%2CTotalMessages-in-JMX-activemq-does-not-work-as-i-would-expect-tp18301728p18301728.html
>>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>>
>>>
>>> Which version of ActiveMQ are you using ? - the stats are certainly
>>> are not intuitive - but this is something I'd like to sort out for  
>>> the
>>> 5.2 release
>>>
>>>
>>>
>>>
>>> Rob Davies
>>> 'Go further faster with Apache Camel!'
>>> http://rajdavies.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/TotalEnqueueCount%2CTotalDequeueCount%2CTotalMessages-in-JMX-activemq-does-not-work-as-i-would-expect-tp18301728p18309951.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/TotalEnqueueCount%2CTotalDequeueCount%2CTotalMessages-in-JMX-activemq-does-not-work-as-i-would-expect-tp18301728p18310211.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message