activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colin Goodheart-Smithe" <>
Subject RE: JMX Pending queue size issue
Date Fri, 25 Jun 2010 16:33:38 GMT


Following up on our previous message, we have looked into this issue


It appears that on durable subscriber start up, it ignores the message
selector when calculating the pending queue size.


Therefore it assumes the messages from the other subscribers are for
that moment also on that durable subscriber. The message selector is
still working (i.e we don't consume any messages we shouldn't off the


A test case has been posted on jira


Thank you.








We are using ActiveMQ 5.3.2, and have encountered an issue where the
"Pending queue size" values on JMX and the Admin console are incorrect,
causing a system that uses the data stored in the ActiveMQ JMX to report
incorrect information.




The problem occurs when we have multiple durable connections to ActiveMQ
with different selectors. 




The scenario is as follows: 




1)       Start all durable subscriber connections (on Separate JVMs)

each with different selectors.


2)       Publish messages to ActiveMQ that only matches one of



3)       Ensure some messages have been enqueued.


4)       Restart both subscribers.


5)       The other durable subscriber that was doing nothing

unexpectedly reports a positive number for the "Pending queue size" when
it should report 0.




There are no pending messages on restarted durable subscriber; however
JMX reports a positive number for the pending queue size and is exactly
the enqueue count of the other subscriber.




Has any one encountered this issue previously?


Is there a resolution to this issue so that JMX reports the correct




Thank you.





This message should be regarded as confidential. If you have received this email in error
please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised
signatory.  The contents of this email may relate to dealings with other companies within
the Detica Limited group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message