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, ShutdownAware, SuspendableService
public class FtpConsumer
- extends RemoteFileConsumer<org.apache.commons.net.ftp.FTPFile>
FTP consumer
Methods inherited from class org.apache.camel.component.file.GenericFileConsumer |
deferShutdown, doStart, getPendingExchangesSize, isBatchAllowed, isInProgress, isMatched, isValidFile, poll, processBatch, processExchange, setMaxMessagesPerPoll |
Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer |
getDelay, getInitialDelay, getPollStrategy, getTimeUnit, isPollAllowed, 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 |
endpointPath
protected String endpointPath
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-2010 The Apache Software Foundation. All Rights Reserved.