spring-guides / gs-spring-boot

Building an Application with Spring Boot :: Learn how to build an application with minimal configuration.
https://spring.io/guides/gs/spring-boot/
Apache License 2.0
890 stars 4.51k forks source link

Remove /shutdown endpoint #14

Closed mikegehard closed 10 years ago

mikegehard commented 10 years ago

This no longer seems to exist in the latest spring boot code.

gregturn commented 10 years ago

I can see it still listed at http://docs.spring.io/spring-boot/docs/1.1.0.RC1/reference/htmlsingle/#production-ready-endpoints. I fired up the complete version of this code, and also saw:

2014-06-03 13:23:28.530  INFO 81154 --- [lication.main()] o.s.b.a.e.jmx.EndpointMBeanExporter      : Located managed bean 'shutdownEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=shutdownEndpoint]
gregturn commented 10 years ago

Ahh...I see it's not enabled as an HTTP endpoint by default. I'll make an edit to cover this.

gregturn commented 10 years ago

Hopefully this edit clears things up @msgehard .