Disable JMX by default

This commit switches the default value for the `spring.jmx.enabled`
configuration property.
JMX is now disabled by default and can be enabled with
`spring.jmx.enabled=true`.

Closes gh-16090
This commit is contained in:
Brian Clozel
2019-03-05 15:30:19 +01:00
parent d403dae6fc
commit ce9626d00f
8 changed files with 36 additions and 34 deletions

View File

@@ -1217,8 +1217,9 @@ following example:
[[production-ready-jmx]]
== Monitoring and Management over JMX
Java Management Extensions (JMX) provide a standard mechanism to monitor and manage
applications. By default, Spring Boot exposes management endpoints as JMX MBeans under
the `org.springframework.boot` domain.
applications. By default, this feature is not enabled and can be turned on with
the configuration property `spring.jmx.enabled=true`. Spring Boot exposes
management endpoints as JMX MBeans under the `org.springframework.boot` domain by default.