This closes #1808
This commit is contained in:
commit
f0d2fae4b3
|
@ -41,6 +41,7 @@ import java.util.Set;
|
||||||
import java.util.concurrent.CopyOnWriteArrayList;
|
import java.util.concurrent.CopyOnWriteArrayList;
|
||||||
|
|
||||||
import org.apache.activemq.artemis.api.config.ActiveMQDefaultConfiguration;
|
import org.apache.activemq.artemis.api.config.ActiveMQDefaultConfiguration;
|
||||||
|
import org.apache.activemq.artemis.core.config.storage.DatabaseStorageConfiguration;
|
||||||
import org.apache.activemq.artemis.utils.critical.CriticalAnalyzerPolicy;
|
import org.apache.activemq.artemis.utils.critical.CriticalAnalyzerPolicy;
|
||||||
import org.apache.activemq.artemis.api.core.BroadcastGroupConfiguration;
|
import org.apache.activemq.artemis.api.core.BroadcastGroupConfiguration;
|
||||||
import org.apache.activemq.artemis.api.core.DiscoveryGroupConfiguration;
|
import org.apache.activemq.artemis.api.core.DiscoveryGroupConfiguration;
|
||||||
|
@ -1431,10 +1432,21 @@ public class ConfigurationImpl implements Configuration, Serializable {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
StringBuilder sb = new StringBuilder("Broker Configuration (");
|
StringBuilder sb = new StringBuilder("Broker Configuration (");
|
||||||
sb.append("clustered=").append(isClustered()).append(",");
|
sb.append("clustered=").append(isClustered()).append(",");
|
||||||
sb.append("journalDirectory=").append(journalDirectory).append(",");
|
if (isJDBC()) {
|
||||||
sb.append("bindingsDirectory=").append(bindingsDirectory).append(",");
|
DatabaseStorageConfiguration dsc = (DatabaseStorageConfiguration) getStoreConfiguration();
|
||||||
sb.append("largeMessagesDirectory=").append(largeMessagesDirectory).append(",");
|
sb.append("jdbcDriverClassName=").append(dsc.getJdbcDriverClassName()).append(",");
|
||||||
sb.append("pagingDirectory=").append(pagingDirectory);
|
sb.append("jdbcConnectionUrl=").append(dsc.getJdbcConnectionUrl()).append(",");
|
||||||
|
sb.append("messageTableName=").append(dsc.getMessageTableName()).append(",");
|
||||||
|
sb.append("bindingsTableName=").append(dsc.getBindingsTableName()).append(",");
|
||||||
|
sb.append("largeMessageTableName=").append(dsc.getLargeMessageTableName()).append(",");
|
||||||
|
sb.append("pageStoreTableName=").append(dsc.getPageStoreTableName()).append(",");
|
||||||
|
|
||||||
|
} else {
|
||||||
|
sb.append("journalDirectory=").append(journalDirectory).append(",");
|
||||||
|
sb.append("bindingsDirectory=").append(bindingsDirectory).append(",");
|
||||||
|
sb.append("largeMessagesDirectory=").append(largeMessagesDirectory).append(",");
|
||||||
|
sb.append("pagingDirectory=").append(pagingDirectory);
|
||||||
|
}
|
||||||
sb.append(")");
|
sb.append(")");
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue