Skip to content

Commit fe222d3

Browse files
charvakcpatel007fmbenhassine
authored andcommitted
Fix misleading Java Code in documentation
Resolves #3692
1 parent 771bb5d commit fe222d3

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
@@ -323,7 +323,7 @@ public IntegrationFlow integrationFlow(JobLaunchingGateway jobLaunchingGateway)
323323
return IntegrationFlows.from(Files.inboundAdapter(new File("/tmp/myfiles")).
324324
filter(new SimplePatternFileListFilter("*.csv")),
325325
c -> c.poller(Pollers.fixedRate(1000).maxMessagesPerPoll(1))).
326-
handle(fileMessageToJobRequest()).
326+
transform(fileMessageToJobRequest()).
327327
handle(jobLaunchingGateway).
328328
log(LoggingHandler.Level.WARN, "headers.id + ': ' + payload").
329329
get();

0 commit comments

Comments
 (0)