Improve documentation for JMX related keys
Closes gh-2747
This commit is contained in:
@@ -425,7 +425,9 @@ content into your application; rather pick only the properties that you need.
|
||||
liquibase.password= # password for liquibase.url
|
||||
|
||||
# JMX
|
||||
spring.jmx.default-domain= # JMX domain name
|
||||
spring.jmx.enabled=true # Expose MBeans from Spring
|
||||
spring.jmx.mbean-server=mBeanServer # MBeanServer bean name
|
||||
|
||||
# RABBIT ({sc-spring-boot-autoconfigure}/amqp/RabbitProperties.{sc-ext}[RabbitProperties])
|
||||
spring.rabbitmq.addresses= # connection addresses (e.g. myhost:9999,otherhost:1111)
|
||||
@@ -577,6 +579,7 @@ content into your application; rather pick only the properties that you need.
|
||||
endpoints.info.id=info
|
||||
endpoints.info.sensitive=false
|
||||
endpoints.info.enabled=true
|
||||
endpoints.jmx.enabled=true # enable JMX export of all endpoints
|
||||
endpoints.mappings.enabled=true
|
||||
endpoints.mappings.id=mappings
|
||||
endpoints.mappings.sensitive=true
|
||||
|
||||
@@ -544,12 +544,12 @@ example `application.properties`:
|
||||
|
||||
[[production-ready-disable-jmx-endpoints]]
|
||||
=== Disabling JMX endpoints
|
||||
If you don't want to expose endpoints over JMX you can set the `spring.jmx.enabled`
|
||||
If you don't want to expose endpoints over JMX you can set the `endpoints.jmx.enabled`
|
||||
property to `false`:
|
||||
|
||||
[source,properties,indent=0]
|
||||
----
|
||||
spring.jmx.enabled=false
|
||||
endpoints.jmx.enabled=false
|
||||
----
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user