Skip to content

RabbitMQ Health Checks cannot be disabled from 3.7+ #38613

@bcluap

Description

@bcluap

Describe the bug

mp.messaging.incoming.XXX.health-enabled=false removes the channel from the health check data, but even if there is only one channel and its health is turned off, it will fail the health checks if rabbit cannot be connected

e.g.
{
"name": "SmallRye Reactive Messaging - readiness check",
"status": "DOWN",
"data": {
"application-com.ukheshe.services.banknodescantopay.BanknodeScanToPayBankReplyListener#consume": "[KO] - Connection refused"
}
}

Also,
quarkus.health.extensions.enabled=false
Used to completely disable reactive messaging health checks on <=3.6 but from 3.7 onwards it does not disable the health checks.

Expected behavior

If all channels have health disabled then completely disable health checks for reactive messaging

if quarkus.health.extensions.enabled=false then completely disable health checks for reactive messaging

Actual behavior

As per bug description

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

No response

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions