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

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

Introduction

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

Prototype

FtpStreamingInboundChannelAdapterSpec(RemoteFileTemplate<FTPFile> remoteFileTemplate,
            Comparator<FTPFile> comparator) 

Source Link

Usage

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

/**
 * A {@link FtpStreamingInboundChannelAdapterSpec} factory for an inbound channel
 * adapter spec./*from w  ww .jav a 2  s  .  co m*/
 * @param remoteFileTemplate the remote file template.
 * @param receptionOrderComparator the comparator.
 * @return the spec.
 */
public static FtpStreamingInboundChannelAdapterSpec inboundStreamingAdapter(
        RemoteFileTemplate<FTPFile> remoteFileTemplate,
        Comparator<AbstractFileInfo<FTPFile>> receptionOrderComparator) {
    return new FtpStreamingInboundChannelAdapterSpec(remoteFileTemplate, receptionOrderComparator);
}