From e884b3544fd39b75ae63f878cf9ced91aef4b464 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Tue, 18 Dec 2018 13:56:08 +0100 Subject: [PATCH] GH-1551 Added health.binders.enabled to additional-spring-configuration-metadata.json Resolves #1551 --- .../META-INF/additional-spring-configuration-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-cloud-stream/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-cloud-stream/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 464d5e49c..7c7bb1897 100644 --- a/spring-cloud-stream/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-cloud-stream/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -5,6 +5,12 @@ "name": "spring.cloud.stream.override-cloud-connectors", "description": "This property is only applicable when the cloud profile is active and Spring Cloud Connectors are provided with the application. If the property is false (the default), the binder detects a suitable bound service (for example, a RabbitMQ service bound in Cloud Foundry for the RabbitMQ binder) and uses it for creating connections (usually through Spring Cloud Connectors). When set to true, this property instructs binders to completely ignore the bound services and rely on Spring Boot properties (for example, relying on the spring.rabbitmq.* properties provided in the environment for the RabbitMQ binder). The typical usage of this property is to be nested in a customized environment when connecting to multiple systems.", "type": "java.lang.Boolean" + }, + { + "defaultValue": "true", + "name": "management.health.binders.enabled", + "description": "Allows to enable/disable binder's' health indicators. If you want to disable health indicator completely, then set it to `false`.", + "type": "java.lang.Boolean" } ] }