|
As of October 27th, please open all new issues in the Red Hat Customer Portal . |
|
[
Permlink
| « Hide
]
Gary Tully added a comment - 05/Aug/11 03:15 PM
do you see the same behavior with jconsole?
This issue seems to be just related to the counters.
The enqueueCount for a topic is the number of messages sent to that topic but it is not decremented by consumers, it is increment only. It should be 100. The dequeueCount is always 0 for a topic, because it will quickly exceed the enqueueCount when there are more than one topic subscription. The inflight count is broken with durable subscriptions when keepDurableSubsActive (default true) is enabled. I will fix this, such that inflight count is decremented when the durable sub goes offline. The visibility of an offline durable sub can also be improved, the current name "false" is not intuitive. I will fix that also and reuse the subscriptionKey. With keepDurableSubsActive, the subscription is still active so the enqueues/dequeues for that subscription MBean will be correct. have implemented some improvements on the inflight count and mbean name for an inactive durable sub. I found one case where a durable subscription could not retrieve all messages. It required the broker attribute: keepDurableSubsActive=false (which is not the default). Added a test and a fix in https://issues.apache.org/jira/browse/AMQ-3442
The dequeueCounter is still 0 for a topic and the enqueueCounter reflects messages sent to a topic. Inflight is now updated when a durable deactivates. |
||||||||||||||||||||||||||||||||||||||||||||