Skip to content

Commit 7a775cf

Browse files
Fix misleading Java Code in documentation
Resolves #3692
1 parent 91aa17b commit 7a775cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-docs/asciidoc/spring-batch-integration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public IntegrationFlow integrationFlow(JobLaunchingGateway jobLaunchingGateway)
315315
return IntegrationFlows.from(Files.inboundAdapter(new File("/tmp/myfiles")).
316316
filter(new SimplePatternFileListFilter("*.csv")),
317317
c -> c.poller(Pollers.fixedRate(1000).maxMessagesPerPoll(1))).
318-
handle(fileMessageToJobRequest()).
318+
transform(fileMessageToJobRequest()).
319319
handle(jobLaunchingGateway).
320320
log(LoggingHandler.Level.WARN, "headers.id + ': ' + payload").
321321
get();

0 commit comments

Comments
 (0)