add current limit to info flow control message

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary Tully 2009-12-09 15:49:12 +00:00
parent 35d4ef5e0a
commit f1f4e2c9d9
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ public class Queue extends BaseDestination implements Task, UsageListener {
if (isProducerFlowControl() && context.isProducerFlowControl()) { if (isProducerFlowControl() && context.isProducerFlowControl()) {
if (warnOnProducerFlowControl) { if (warnOnProducerFlowControl) {
warnOnProducerFlowControl = false; warnOnProducerFlowControl = false;
LOG.info("Usage Manager Memory Limit reached on " + getActiveMQDestination().getQualifiedName() LOG.info("Usage Manager Memory Limit ("+ memoryUsage.getLimit() + ") reached on " + getActiveMQDestination().getQualifiedName()
+ ". Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it." + ". Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it."
+ " See http://activemq.apache.org/producer-flow-control.html for more info"); + " See http://activemq.apache.org/producer-flow-control.html for more info");
} }