public class SftpConsumer extends RemoteFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry>
loggedIn, loggedInWarning
Constructor and Description |
---|
SftpConsumer(RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry> endpoint,
org.apache.camel.Processor processor,
RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> operations) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
doPollDirectory(String absolutePath,
String dirName,
List<org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry>> fileList,
int depth) |
protected boolean |
isMatched(org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry> file,
String doneFileName,
List<com.jcraft.jsch.ChannelSftp.LsEntry> files) |
protected boolean |
pollDirectory(String fileName,
List<org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry>> fileList,
int depth) |
protected boolean |
pollSubDirectory(String absolutePath,
String dirName,
List<org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry>> fileList,
int depth) |
connectIfNecessary, disconnect, doStop, getEndpoint, getOperations, isRetrieveFile, postPollCheck, prePollCheck, processExchange, recoverableConnectIfNecessary, remoteServer
canPollMoreFiles, customProcessExchange, doStart, getCustomProcessor, isEagerLimitMaxMessagesPerPoll, isInProgress, isMatched, isValidFile, poll, processBatch, removeExcessiveInProgressFiles, setCustomProcessor, setEagerLimitMaxMessagesPerPoll, setOperations
deferShutdown, getMaxMessagesPerPoll, getPendingExchangesSize, isBatchAllowed, prepareShutdown, processEmptyMessage, setMaxMessagesPerPoll
afterPoll, beforePoll, doShutdown, doSuspend, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, run, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startScheduler
getAsyncProcessor, getExceptionHandler, getProcessor, handleException, handleException, setExceptionHandler, toString
doResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public SftpConsumer(RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry> endpoint, org.apache.camel.Processor processor, RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> operations)
protected boolean pollDirectory(String fileName, List<org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry>> fileList, int depth)
pollDirectory
in class org.apache.camel.component.file.GenericFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry>
protected boolean pollSubDirectory(String absolutePath, String dirName, List<org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry>> fileList, int depth)
protected boolean doPollDirectory(String absolutePath, String dirName, List<org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry>> fileList, int depth)
protected boolean isMatched(org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry> file, String doneFileName, List<com.jcraft.jsch.ChannelSftp.LsEntry> files)
isMatched
in class org.apache.camel.component.file.GenericFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry>
Apache Camel