From 864e7fedf188880ed81ece884f42c4b5efabe72d Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Thu, 24 Oct 2019 12:50:23 +0200 Subject: [PATCH] GH-1829 Add 'multiplex' consumer property to the doc Fix javadoc by removing the note about users not being expected to set this property Resolves #1829 --- docs/src/main/asciidoc/spring-cloud-stream.adoc | 4 ++++ .../cloud/stream/binder/ConsumerProperties.java | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-stream.adoc b/docs/src/main/asciidoc/spring-cloud-stream.adoc index 218cd6999..789073d57 100644 --- a/docs/src/main/asciidoc/spring-cloud-stream.adoc +++ b/docs/src/main/asciidoc/spring-cloud-stream.adoc @@ -1861,6 +1861,10 @@ Also, when native encoding and decoding is used, the `headerMode=embeddedHeaders See the producer property `useNativeEncoding`. + Default: `false`. +multiplex:: +When set to true, the underlying binder will natively multiplex destinations on the same input binding. ++ +Default: `false`. ==== Advanced Consumer Configuration diff --git a/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/ConsumerProperties.java b/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/ConsumerProperties.java index 00d293d39..4722a3e28 100644 --- a/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/ConsumerProperties.java +++ b/spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binder/ConsumerProperties.java @@ -155,8 +155,7 @@ public class ConsumerProperties { * By default this property is set to `false` and the binder will individually bind * each destinations in case of a comma separated multi destination list. The * individual binder implementations that need to support multiple input bindings - * natively (multiplex) can enable this property. Under normal circumstances, the end - * users are not expected to enable or disable this property directly. + * natively (multiplex) can enable this property. */ private boolean multiplex;