Skip to content

Actuator RabbitMQ cannot report the status properly if not binded #11332

@christophe-f

Description

@christophe-f

Hi,

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions