mirror of https://github.com/apache/activemq.git
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:
parent
610c5bf4d8
commit
cb9f176752
|
@ -189,7 +189,7 @@ public class Queue extends BaseDestination implements Task, UsageListener {
|
||||||
}
|
}
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
if (LOG.isDebugEnabled()) {
|
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) {
|
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) {
|
||||||
|
|
Loading…
Reference in New Issue