Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class DefaultManagementAgent extends ServiceSupport implements Management
private String mBeanObjectDomainName;
private String serviceUrlPath;
private Boolean usePlatformMBeanServer = true;
private Boolean createConnector;
private Boolean createConnector = true;
private Boolean onlyRegisterProcessorWithCustomId;
private Boolean registerAlways;
private Boolean registerNewRoutes = true;
Expand Down Expand Up @@ -103,9 +103,6 @@ protected void finalizeSettings() {
if (serviceUrlPath == null) {
serviceUrlPath = System.getProperty(JmxSystemPropertyKeys.SERVICE_URL_PATH, DEFAULT_SERVICE_URL_PATH);
}
if (createConnector == null) {
createConnector = Boolean.getBoolean(JmxSystemPropertyKeys.CREATE_CONNECTOR);
}
if (onlyRegisterProcessorWithCustomId == null) {
onlyRegisterProcessorWithCustomId = Boolean.getBoolean(JmxSystemPropertyKeys.ONLY_REGISTER_PROCESSOR_WITH_CUSTOM_ID);
}
Expand All @@ -123,6 +120,9 @@ protected void finalizeSettings() {
if (System.getProperty(JmxSystemPropertyKeys.MASK) != null) {
mask = Boolean.getBoolean(JmxSystemPropertyKeys.MASK);
}
if (System.getProperty(JmxSystemPropertyKeys.CREATE_CONNECTOR) != null) {
createConnector = Boolean.getBoolean(JmxSystemPropertyKeys.CREATE_CONNECTOR);
}
}

public void setRegistryPort(Integer port) {
Expand Down