Fix StreamFunctionProperties bindings property usage

fix usage of PollableSupplier and update documentation
This commit is contained in:
Oleg Zhurakousky
2019-10-08 06:07:23 -05:00
parent e033b17eef
commit 4ede865c90
6 changed files with 174 additions and 115 deletions

View File

@@ -554,14 +554,14 @@ Consider the following sample, which emulates such use case by producing a finit
@SpringBootApplication
public static class SupplierConfiguration {
@PollableSupplier
@Pollable
public Supplier<Flux<String>> stringSupplier() {
return () -> Flux.just("hello", "bye");
}
}
----
The bean itself is annotated with `PollableSupplier` annotation (sub-set of `@Bean`), thus signaling to the framework that although the implementation
The bean itself is annotated with `Pollable` 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.
====== Polling Configuration Properties