diff --git a/src/reference/asciidoc/ftp.adoc b/src/reference/asciidoc/ftp.adoc index 89b8230eae..af304cc9da 100644 --- a/src/reference/asciidoc/ftp.adoc +++ b/src/reference/asciidoc/ftp.adoc @@ -561,7 +561,7 @@ public class FtpJavaApplication { @Bean public IntegrationFlow ftpInboundFlow() { return IntegrationFlows - .from(Fpt.inboundAdapter(this.ftpSessionFactory) + .from(Ftp.inboundAdapter(this.ftpSessionFactory) .preserveTimestamp(true) .remoteDirectory("foo") .regexFilter(".*\\.txt$")