Closed cavitpinar closed 3 years ago
The new endpoint is /actuator/busrefresh
/actuator/busrefresh
It took me 2 days. I check all the documentation except this one. Thank you so much.
Merry Christmas.
the version of my springboot is 2.2.6.RELEASE, and the version of spring-cloud-starter-bus-amqp is 2.2.2.RELEASE;.I had try many couple of them ,but still 405 while post busrefresh or bus-refresh. Can you give me some suggestions. thx
Not without more information from you
I ve been trying to trigger bus refresh by sending post request to
http://localhost:8888/actuator/bus-refresh
The response I get >>
{ "timestamp": "2020-12-22T16:00:12.920+00:00", "status": 405, "error": "Method Not Allowed", "message": "", "path": "/actuator/bus-refresh" }
Pom.xml
application properties
Config Server console output
Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' not supported]
I have changed management.endpoints.web.exposure.include to management.endpoints.web.exposure.include= bus-refresh but it did not change. RabbitMq is running and I can see the subscriber microservices in console.I have tried many things but the problem is still there.