org.apache.camel.component.file.remote
Class FtpConsumer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultConsumer
org.apache.camel.impl.ScheduledPollConsumer
org.apache.camel.component.file.GenericFileConsumer<T>
org.apache.camel.component.file.remote.RemoteFileConsumer<org.apache.commons.net.ftp.FTPFile>
org.apache.camel.component.file.remote.FtpConsumer
- All Implemented Interfaces:
- Runnable, BatchConsumer, Consumer, Service, SuspendableService
public class FtpConsumer
- extends RemoteFileConsumer<org.apache.commons.net.ftp.FTPFile>
FTP consumer
Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer |
doStart, getDelay, getInitialDelay, getPollStrategy, getTimeUnit, isSuspended, isUseFixedDelay, resume, run, setDelay, setInitialDelay, setPollStrategy, setTimeUnit, setUseFixedDelay, suspend |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop |
FtpConsumer
public FtpConsumer(RemoteFileEndpoint<org.apache.commons.net.ftp.FTPFile> endpoint,
Processor processor,
RemoteFileOperations<org.apache.commons.net.ftp.FTPFile> fileOperations)
pollDirectory
protected void pollDirectory(String fileName,
List<GenericFile<org.apache.commons.net.ftp.FTPFile>> fileList)
- Specified by:
pollDirectory
in class GenericFileConsumer<org.apache.commons.net.ftp.FTPFile>
Copyright © 2007-2009 The Apache Software Foundation. All Rights Reserved.