From 056898b2ca9da129903bdff108620dc8f747c92c Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Thu, 13 Sep 2018 15:41:04 +0200 Subject: [PATCH] GH-1457 Added initilal additional-spring-configuration-metadata.json Resolves #1457 --- .../additional-spring-configuration-metadata.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 spring-cloud-stream/src/main/resources/META-INF/additional-spring-configuration-metadata.json 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 new file mode 100644 index 000000000..464d5e49c --- /dev/null +++ b/spring-cloud-stream/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -0,0 +1,10 @@ +{ + "properties": [ + { + "defaultValue": "false", + "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" + } + ] +}