Actuator RabbitMQ cannot report the status properly if not binded
See original GitHub issueHi,
My app is connecting to RabbitMQ thru the settings coming from a config server. The app is working fine but the actuator endpoints reports:
status:DOWN
binders
status:UP
rabbit-primary
status:UP
binderHealthIndicator
status:UP
version:3.5.8
rabbit
status:DOWN
error:org.springframework.amqp.AmqpConnectException: java.net.ConnectException: Connection refused (Connection refused)
After creating a service and binding it to the app, the status is fine:
status:UP
binders
status:UP
rabbit-primary
status:UP
binderHealthIndicator
status:UP
version:3.5.8
rabbit
status:UP
I’m using the latest Springboot 1.5.9 version and run on PWS.
I know it’s better to be able to bind to a service, but in reality it won’t be always the case.
Thanks
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Production-ready Features - Spring
Actuator endpoints let you monitor and interact with your application. Spring Boot includes a number of built-in endpoints and lets you add your...
Read more >Prevent @RabbitListener in spring-rabbit from trying to ...
I've had a similar problem, but solved it with. spring.rabbitmq.listener.direct.auto-startup=false. SpringBoot version 2.2.4.RELEASE.
Read more >Windows-specific Issues - RabbitMQ
If you must upgrade Erlang, use this procedure: Make sure to use the same administrative user that was used to install RabbitMQ; Stop...
Read more >spring-projects/spring-amqp - Gitter
What you say I only see the problem when thread pool is less than sum of containers ... State: BLOCKED at app//org.springframework.amqp.rabbit.listener.
Read more >Security Overview for Spring Cloud Services - VMware Docs
An admin-level client is not required for creating and deleting SSO ... is generated at binding request time, an attacker would be unable...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi Phil,
Here is a sample at https://github.com/christophe-f/rabbitmq-actuator-sample
You can replace line 11 in application.yml with your own settings to be able to reproduce.
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.