Spring Boot Actuator始终启用关闭EndPoint

时间:2015-04-24 04:32:40

标签: java spring spring-boot

我正在构建基于Spring Boot的应用程序。 我还添加了spring-boot-starter-actuator。根据{{​​3}},默认情况下不启用关闭端点。

但是从JMX可以看出它可以执行以关闭应用程序。

我也尝试过

endpoints.shutdown.enabled=false

在application.properties中禁用它,但它似乎没有任何效果。

我在哪里错过了?

0 个答案:

没有答案
相关问题