AMQ-4031: Do not check for temporary journal store limit for non persistent broker. Thanks to Johno Crawford for the patch.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382255 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Claus Ibsen 2012-09-08 09:08:24 +00:00
parent 4507966460
commit 5b4fe6e05f
1 changed files with 13 additions and 11 deletions

View File

@ -1901,6 +1901,7 @@ public class BrokerService implements Service {
" only has " + dirFreeSpace / (1024 * 1024) + " mb of usable space");
}
if (isPersistent()) {
long maxJournalFileSize;
if (usage.getTempUsage().getStore() != null) {
@ -1917,6 +1918,7 @@ public class BrokerService implements Service {
}
}
}
}
public void stopAllConnectors(ServiceStopper stopper) {
for (Iterator<NetworkConnector> iter = getNetworkConnectors().iterator(); iter.hasNext();) {