From 6fdfa22c5ebbc8b1c45de2bcba29a6bd597e7af3 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Fri, 22 Nov 2019 13:14:29 +0100 Subject: [PATCH] GH-1846 Update documentation on 'splittable' attribute of PollableBean Resolves #1846 --- docs/src/main/asciidoc/spring-cloud-stream.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-stream.adoc b/docs/src/main/asciidoc/spring-cloud-stream.adoc index 9c2b9a0e2..c5fbbeab7 100644 --- a/docs/src/main/asciidoc/spring-cloud-stream.adoc +++ b/docs/src/main/asciidoc/spring-cloud-stream.adoc @@ -562,6 +562,12 @@ public static class SupplierConfiguration { The bean itself is annotated with `PollableBean` annotation (sub-set of `@Bean`), thus signaling to the framework that although the implementation of such a supplier is reactive, it still needs to be polled. +NOTE: There is a `splittable` attribute defined in `PollableBean` which signals to the post processors of this annotation +that the result produced by the annotated component has to be split and is set to `true` by default. It means that +the framework will split the returning sending out each item as an individual message. If this is not +he desired behavior you can set it to `false` at which point such supplier will simply return +the produced Flux without splitting it. + ====== Polling Configuration Properties