You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by khandelwalanuj <kh...@gmail.com> on 2014/02/03 07:49:05 UTC

Held Messages in ActiveMQ broker

Hey I am seeing this value as negative for my broker :

 RegionBroker regionBroker = (RegionBroker) brokerService.getRegionBroker();            
 DestinationStatistics brokerStats =
regionBroker.getDestinationStatistics();
*"brokerStats.getMessages().getCount()"
*

It should return number of messages held by the the destinations in broker.
What is the significance of negative value.

Thanks,
Anuj



--
View this message in context: http://activemq.2283324.n4.nabble.com/Held-Messages-in-ActiveMQ-broker-tp4677298.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Held Messages in ActiveMQ broker

Posted by Christian Posta <ch...@gmail.com>.
Reproduce this in a unit test case please.

On Mon, Feb 3, 2014 at 11:30 PM, khandelwalanuj
<kh...@gmail.com> wrote:
> please respond !!
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Held-Messages-in-ActiveMQ-broker-tp4677298p4677374.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.



-- 
Christian Posta
http://www.christianposta.com/blog
twitter: @christianposta

Re: Held Messages in ActiveMQ broker

Posted by khandelwalanuj <kh...@gmail.com>.
please respond !!



--
View this message in context: http://activemq.2283324.n4.nabble.com/Held-Messages-in-ActiveMQ-broker-tp4677298p4677374.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.