Improve docs for global default poller

* Fix Kotlin deprecation warning in the test
* Replace wrong `IntervalTrigger` mentioning in the docs to the proper `PeriodicTrigger`
* Fix code snippet in the `channel-adapter.adoc`
This commit is contained in:
Artem Bilan
2021-09-20 10:31:36 -04:00
parent 0fb64f1762
commit b92d52fe74
3 changed files with 77 additions and 12 deletions

View File

@@ -258,7 +258,7 @@ class KotlinDslTests {
@Bean
fun functionFlow2() =
integrationFlow<Function<*, *>> {
transform<String> { it.toLowerCase() }
transform<String> { it.lowercase() }
filter(UnexpiredMessageSelector())
route<Message<*>, Any?>({ null }) { defaultOutputToParentFlow() }
route<Message<*>> { m -> m.headers.replyChannel }