activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r1004603 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Date Tue, 05 Oct 2010 10:26:14 GMT
Author: gtully
Date: Tue Oct  5 10:26:14 2010
New Revision: 1004603

URL: http://svn.apache.org/viewvc?rev=1004603&view=rev
Log:
add limit to the log message on temp store full

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=1004603&r1=1004602&r2=1004603&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
Tue Oct  5 10:26:14 2010
@@ -732,7 +732,9 @@ public class Queue extends BaseDestinati
                 waitForSpace(context, systemUsage.getStoreUsage(), getStoreUsageHighWaterMark(),
logMessage);
             }
         } else if (messages.getSystemUsage() != null && systemUsage.getTempUsage().isFull())
{
-            final String logMessage = "Usage Manager Temp Store is Full. Stopping producer
(" + message.getProducerId()
+            final String logMessage = "Usage Manager Temp Store is Full ("
+                    + systemUsage.getTempUsage().getPercentUsage() + "% of " + systemUsage.getTempUsage().getLimit()

+                    +"). Stopping producer (" + message.getProducerId()
                 + ") to prevent flooding " + getActiveMQDestination().getQualifiedName()
+ "."
                 + " See http://activemq.apache.org/producer-flow-control.html for more info";
             



Mime
View raw message