From 06996d6cd6e34cf5c26825aee0f760205aa9a6fc Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 2 Mar 2015 23:47:00 +0800 Subject: [PATCH] Update 42.2. Disabling JMX endpoints.md --- .../42.2. Disabling JMX endpoints.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/V. Spring Boot Actuator: Production-ready features/42.2. Disabling JMX endpoints.md b/V. Spring Boot Actuator: Production-ready features/42.2. Disabling JMX endpoints.md index 5e09039..20bbf8f 100644 --- a/V. Spring Boot Actuator: Production-ready features/42.2. Disabling JMX endpoints.md +++ b/V. Spring Boot Actuator: Production-ready features/42.2. Disabling JMX endpoints.md @@ -1,4 +1,6 @@ ### 42.2. 禁用JMX端点 如果不想通过JMX暴露端点,你可以将`spring.jmx.enabled`属性设置为false: -`spring.jmx.enabled=false` +```java +spring.jmx.enabled=false +```