IntegrationComponentSpec refactoring

Introduce `Tuple`
Apply `EndpointConfigurer` for `MessageSource<>` DSL-method
This commit is contained in:
Artem Bilan
2014-02-14 16:24:11 +02:00
parent 0baeb52b3f
commit 70d0e35806
20 changed files with 404 additions and 103 deletions

View File

@@ -134,7 +134,7 @@ public class IntegrationFlowTests {
@Bean
public IntegrationFlow flow1() {
return IntegrationFlows.from(this.integerMessageSource(), Pollers.fixedRate(100))
return IntegrationFlows.from(this.integerMessageSource(), c -> c.poller(Pollers.fixedRate(100)))
.transform("payload.toString()")
.channel(MessageChannels.queue("flow1QueueChannel"))
.get();