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 void |
doStart() |
protected boolean |
ignoreCannotRetrieveFile(String name,
org.apache.camel.Exchange exchange,
Exception cause) |
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, remoteServercanPollMoreFiles, customProcessExchange, evaluateFileExpression, getCustomProcessor, isEagerLimitMaxMessagesPerPoll, isInProgress, isMatched, isValidFile, poll, processBatch, removeExcessiveInProgressFiles, setCustomProcessor, setEagerLimitMaxMessagesPerPoll, setOperationsdeferShutdown, getMaxMessagesPerPoll, getPendingExchangesSize, isBatchAllowed, prepareShutdown, processEmptyMessage, setMaxMessagesPerPollafterPoll, beforePoll, doShutdown, doSuspend, getBackoffCounter, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isPollAllowed, isPolling, isSchedulerStarted, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, onInit, run, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay, startSchedulercreateUoW, doneUoW, getAsyncProcessor, getExceptionHandler, getProcessor, getRoute, handleException, handleException, setExceptionHandler, setRoute, toStringdoResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic SftpConsumer(RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry> endpoint, org.apache.camel.Processor processor, RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> operations)
protected void doStart()
throws Exception
doStart in class org.apache.camel.component.file.GenericFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry>Exceptionprotected 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