mirror of https://github.com/apache/activemq.git
add limit to the log message on temp store full
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004603 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c94b4075e9
commit
04b2690628
|
@ -732,7 +732,9 @@ public class Queue extends BaseDestination implements Task, UsageListener {
|
|||
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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue