https://issues.apache.org/jira/browse/AMQ-3143 - additional commit for storeUsage limit change

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063214 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-01-25 10:39:11 +00:00
parent 610c5bf4d8
commit cb9f176752
1 changed files with 4 additions and 1 deletions

View File

@ -834,6 +834,9 @@ public class Queue extends BaseDestination implements Task, UsageListener {
if (memoryUsage != null) { if (memoryUsage != null) {
memoryUsage.start(); memoryUsage.start();
} }
if (systemUsage.getStoreUsage() != null) {
systemUsage.getStoreUsage().start();
}
systemUsage.getMemoryUsage().addUsageListener(this); systemUsage.getMemoryUsage().addUsageListener(this);
messages.start(); messages.start();
if (getExpireMessagesPeriod() > 0) { if (getExpireMessagesPeriod() > 0) {