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

@ -189,7 +189,7 @@ public class Queue extends BaseDestination implements Task, UsageListener {
}
} catch (InterruptedException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(getName() + "P roducer Flow Control Timeout Task is stopping");
LOG.debug(getName() + "Producer Flow Control Timeout Task is stopping");
}
}
}
@ -834,6 +834,9 @@ public class Queue extends BaseDestination implements Task, UsageListener {
if (memoryUsage != null) {
memoryUsage.start();
}
if (systemUsage.getStoreUsage() != null) {
systemUsage.getStoreUsage().start();
}
systemUsage.getMemoryUsage().addUsageListener(this);
messages.start();
if (getExpireMessagesPeriod() > 0) {