ARTEMIS-1628 Fixing typo on limit pool size check

This commit is contained in:
Clebert Suconic 2018-01-24 10:11:21 -05:00
parent 5bc1f13297
commit a82ffbcb78
1 changed files with 1 additions and 1 deletions

View File

@ -863,7 +863,7 @@ public class ConfigurationImpl implements Configuration, Serializable {
@Override
public Configuration setJournalPoolFiles(int poolSize) {
this.journalPoolFiles = poolSize;
if (!Env.isTestEnv()) {
if (!Env.isTestEnv() && poolSize < 0) {
ActiveMQServerLogger.LOGGER.useFixedValueOnJournalPoolFiles();
}
return this;