Author: gtully
Date: Wed Dec 9 15:49:12 2009
New Revision: 888846
URL: http://svn.apache.org/viewvc?rev=888846&view=rev
Log:
add current limit to info flow control message
Modified:
activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java?rev=888846&r1=888845&r2=888846&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Wed Dec 9 15:49:12 2009
@@ -395,7 +395,7 @@
if (isProducerFlowControl() && context.isProducerFlowControl()) {
if (warnOnProducerFlowControl) {
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."
+ " See http://activemq.apache.org/producer-flow-control.html
for more info");
}
|