activemq-users mailing list archives

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


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