Fix misleading Java Code in documentation

Resolves #3692
This commit is contained in:
Charvak Patel
2020-05-26 02:32:30 +05:30
committed by GitHub
parent 91aa17b22f
commit 7a775cf2d5

View File

@@ -315,7 +315,7 @@ public IntegrationFlow integrationFlow(JobLaunchingGateway jobLaunchingGateway)
return IntegrationFlows.from(Files.inboundAdapter(new File("/tmp/myfiles")).
filter(new SimplePatternFileListFilter("*.csv")),
c -> c.poller(Pollers.fixedRate(1000).maxMessagesPerPoll(1))).
handle(fileMessageToJobRequest()).
transform(fileMessageToJobRequest()).
handle(jobLaunchingGateway).
log(LoggingHandler.Level.WARN, "headers.id + ': ' + payload").
get();