mirror of https://github.com/apache/activemq.git
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:
parent
b997d257d5
commit
9b801d19d0
|
@ -441,10 +441,8 @@ public class TopicSubscription extends AbstractSubscription {
|
||||||
message.decrementReferenceCount();
|
message.decrementReferenceCount();
|
||||||
matched.remove(message);
|
matched.remove(message);
|
||||||
discarded++;
|
discarded++;
|
||||||
dequeueCounter.incrementAndGet();
|
|
||||||
if(destination != null) {
|
if(destination != null) {
|
||||||
destination.getDestinationStatistics().getDequeues().increment();
|
destination.getDestinationStatistics().getDequeues().increment();
|
||||||
destination.getDestinationStatistics().getInflight().decrement();
|
|
||||||
}
|
}
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug("Discarding message " + message);
|
LOG.debug("Discarding message " + message);
|
||||||
|
|
Loading…
Reference in New Issue