sync code default with config default to use jvm mbean server

This commit is contained in:
gtully 2017-11-24 10:36:52 +00:00
parent 151e17abfe
commit 9d98ee253f
1 changed files with 2 additions and 2 deletions

View File

@ -64,9 +64,9 @@ public class ManagementContext implements Service {
public static final String DEFAULT_DOMAIN = "org.apache.activemq";
static {
String option = Boolean.TRUE.toString();
String option = Boolean.FALSE.toString();
try {
option = System.getProperty("org.apache.activemq.broker.jmx.createConnector", "true");
option = System.getProperty("org.apache.activemq.broker.jmx.createConnector", "false");
} catch (Exception ex) {
}