help with https://issues.apache.org/activemq/browse/AMQ-2262 when messages are discarded broker side

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@777527 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-05-22 14:00:04 +00:00
parent b997d257d5
commit 9b801d19d0
1 changed files with 0 additions and 2 deletions

View File

@ -441,10 +441,8 @@ public class TopicSubscription extends AbstractSubscription {
message.decrementReferenceCount();
matched.remove(message);
discarded++;
dequeueCounter.incrementAndGet();
if(destination != null) {
destination.getDestinationStatistics().getDequeues().increment();
destination.getDestinationStatistics().getInflight().decrement();
}
if (LOG.isDebugEnabled()) {
LOG.debug("Discarding message " + message);