mirror of https://github.com/apache/activemq.git
[AMQ-6703] check for enable audit false
This commit is contained in:
parent
99f3d4c505
commit
df3bd83c0d
|
@ -1280,7 +1280,9 @@ public class Queue extends BaseDestination implements Task, UsageListener, Index
|
||||||
// store
|
// store
|
||||||
} while (!list.isEmpty() && this.destinationStatistics.getMessages().getCount() > 0);
|
} while (!list.isEmpty() && this.destinationStatistics.getMessages().getCount() > 0);
|
||||||
|
|
||||||
|
if (getMessages().getMessageAudit() != null) {
|
||||||
getMessages().getMessageAudit().clear();
|
getMessages().getMessageAudit().clear();
|
||||||
|
}
|
||||||
|
|
||||||
if (this.destinationStatistics.getMessages().getCount() > 0) {
|
if (this.destinationStatistics.getMessages().getCount() > 0) {
|
||||||
LOG.warn("{} after purge of {} messages, message count stats report: {}", getActiveMQDestination().getQualifiedName(), originalMessageCount, this.destinationStatistics.getMessages().getCount());
|
LOG.warn("{} after purge of {} messages, message count stats report: {}", getActiveMQDestination().getQualifiedName(), originalMessageCount, this.destinationStatistics.getMessages().getCount());
|
||||||
|
|
Loading…
Reference in New Issue