Example usage for org.springframework.integration.ftp.dsl FtpMessageHandlerSpec FtpMessageHandlerSpec

List of usage examples for org.springframework.integration.ftp.dsl FtpMessageHandlerSpec FtpMessageHandlerSpec

Introduction

In this page you can find the example usage for org.springframework.integration.ftp.dsl FtpMessageHandlerSpec FtpMessageHandlerSpec.

Prototype

FtpMessageHandlerSpec(RemoteFileTemplate<FTPFile> remoteFileTemplate) 

Source Link

Usage

From source file:org.springframework.integration.ftp.dsl.Ftp.java

/**
 * A {@link FtpMessageHandlerSpec} factory for an outbound channel adapter spec.
 * @param sessionFactory the session factory.
 * @return the spec.//w  w w  . j a  v  a 2s.c  o  m
 */
public static FtpMessageHandlerSpec outboundAdapter(SessionFactory<FTPFile> sessionFactory) {
    return new FtpMessageHandlerSpec(sessionFactory);
}

From source file:org.springframework.integration.ftp.dsl.Ftp.java

/**
 * A {@link FtpMessageHandlerSpec} factory for an outbound channel adapter spec.
 * @param remoteFileTemplate the remote file template.
 * @return the spec.//from w w w . j  av  a  2 s  . c  o m
 */
public static FtpMessageHandlerSpec outboundAdapter(RemoteFileTemplate<FTPFile> remoteFileTemplate) {
    return new FtpMessageHandlerSpec(remoteFileTemplate);
}