Spring Boot, Java, Rabbitmq, Programming, Technology.
protected void doHealthCheck(Health.Builder builder) throws Exception { if (connectionFactory != null && connectionFactory.createConnection().isOpen()) { builder.up().withDetail("RabbitMQ", "Available"); } else { builder.down().withDetail("RabbitMQ", "Not Available"); } } } Debugging Message