|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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<com.jcraft.jsch.ChannelSftp.LsEntry>
org.apache.camel.component.file.remote.SftpConsumer
public class SftpConsumer
Secure FTP consumer
| Field Summary |
|---|
| Fields inherited from class org.apache.camel.component.file.remote.RemoteFileConsumer |
|---|
loggedIn |
| Fields inherited from class org.apache.camel.component.file.GenericFileConsumer |
|---|
customProcessor, endpoint, fileExpressionResult, log, maxMessagesPerPoll, operations, pendingExchanges, shutdownRunningTask |
| Constructor Summary | |
|---|---|
SftpConsumer(RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry> endpoint,
org.apache.camel.Processor processor,
RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> operations)
|
|
| Method Summary | |
|---|---|
protected boolean |
doPollDirectory(String absolutePath,
String dirName,
List<org.apache.camel.component.file.GenericFile<com.jcraft.jsch.ChannelSftp.LsEntry>> fileList,
int depth)
|
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)
|
| Methods inherited from class org.apache.camel.component.file.remote.RemoteFileConsumer |
|---|
connectIfNecessary, disconnect, doStop, getEndpoint, getOperations, isMatched, postPollCheck, prePollCheck, processExchange, recoverableConnectIfNecessary, remoteServer |
| Methods inherited from class org.apache.camel.component.file.GenericFileConsumer |
|---|
canPollMoreFiles, customProcessExchange, deferShutdown, doStart, getCustomProcessor, getPendingExchangesSize, isBatchAllowed, isInProgress, isMatched, isValidFile, poll, prepareShutdown, processBatch, setCustomProcessor, setMaxMessagesPerPoll, setOperations |
| Methods inherited from class org.apache.camel.impl.ScheduledPollConsumer |
|---|
afterPoll, beforePoll, doShutdown, doSuspend, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getTimeUnit, isPollAllowed, isPolling, isStartScheduler, isUseFixedDelay, onInit, run, setDelay, setInitialDelay, setPollStrategy, setRunLoggingLevel, setStartScheduler, setTimeUnit, setUseFixedDelay, startScheduler |
| Methods inherited from class org.apache.camel.impl.DefaultConsumer |
|---|
getAsyncProcessor, getExceptionHandler, getProcessor, handleException, setExceptionHandler, toString |
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
|---|
addChildService, doResume, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.camel.Service |
|---|
start, stop |
| Methods inherited from interface org.apache.camel.SuspendableService |
|---|
isSuspended, resume, suspend |
| Constructor Detail |
|---|
public SftpConsumer(RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry> endpoint,
org.apache.camel.Processor processor,
RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> operations)
| Method Detail |
|---|
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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||