@UriEndpoint(scheme="sftp",
extendsScheme="file",
title="SFTP",
syntax="sftp:host:port/directoryName",
consumerClass=SftpConsumer.class,
label="file")
public class SftpEndpoint
extends RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
| Modifier and Type | Field and Description |
|---|---|
protected SftpConfiguration |
configuration |
protected com.jcraft.jsch.Proxy |
proxy |
allowNullBody, antExclude, antFilter, antInclude, autoCreate, bufferSize, charset, chmod, DEFAULT_IDEMPOTENT_CACHE_SIZE, DEFAULT_STRATEGYFACTORY_CLASS, delete, directoryMustExist, doneFileName, eagerDeleteTargetFile, eagerMaxMessagesPerPoll, exclude, exclusiveReadLockStrategy, fileExist, fileName, filter, flatten, idempotent, idempotentKey, idempotentRepository, include, inProgressRepository, keepLastModified, localWorkDirectory, log, maxDepth, maxMessagesPerPoll, minDepth, move, moveExisting, moveFailed, noop, onCompletionExceptionHandler, preMove, processStrategy, readLock, readLockCheckInterval, readLockDeleteOrphanLockFiles, readLockLoggingLevel, readLockMarkerFile, readLockMinAge, readLockMinLength, readLockRemoveOnCommit, readLockRemoveOnRollback, readLockTimeout, recursive, shuffle, sortBy, sorter, startingDirectoryMustExist, tempFileName, tempPrefix| Constructor and Description |
|---|
SftpEndpoint() |
SftpEndpoint(String uri,
SftpComponent component,
SftpConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected RemoteFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry> |
buildConsumer(org.apache.camel.Processor processor)
Remote File Endpoints, impl this method to create a custom consumer specific to their "protocol" etc.
|
protected org.apache.camel.component.file.GenericFileProducer<com.jcraft.jsch.ChannelSftp.LsEntry> |
buildProducer()
Remote File Endpoints, impl this method to create a custom producer specific to their "protocol" etc.
|
RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> |
createRemoteFileOperations()
Creates the operations to be used by the consumer or producer.
|
SftpConfiguration |
getConfiguration() |
com.jcraft.jsch.Proxy |
getProxy() |
String |
getScheme() |
void |
setConfiguration(org.apache.camel.component.file.GenericFileConfiguration configuration) |
void |
setProxy(com.jcraft.jsch.Proxy proxy)
To use a custom configured com.jcraft.jsch.Proxy.
|
afterPropertiesSet, createConsumer, createExchange, createProducer, getFileSeparator, getMaximumReconnectAttempts, getParamsAsMap, getReconnectDelay, isAbsolute, isDisconnect, isDownload, isFastExistsCheck, remoteServerInformation, setDisconnect, setDownload, setFastExistsCheck, setMaximumReconnectAttempts, setReconnectDelaychmodPermissionsAreValid, configureExchange, configureMessage, configureMoveOrPreMoveExpression, createDoneFileName, createGenericFileStrategy, doStart, doStop, getAntExclude, getAntFilter, getAntInclude, getBufferSize, getCharset, getChmod, getDoneFileName, getExchanges, getExclude, getExclusiveReadLockStrategy, getFileExist, getFileName, getFilter, getGeneratedFileName, getGenericFileProcessStrategy, getIdempotentKey, getIdempotentRepository, getInclude, getInProgressRepository, getLocalWorkDirectory, getMaxDepth, getMaxMessagesPerPoll, getMinDepth, getMove, getMoveExisting, getMoveFailed, getOnCompletionExceptionHandler, getPermissions, getPreMove, getProcessStrategy, getReadLock, getReadLockCheckInterval, getReadLockLoggingLevel, getReadLockMinAge, getReadLockMinLength, getReadLockTimeout, getSortBy, getSorter, getTempFileName, getTempPrefix, isAllowNullBody, isAutoCreate, isDelete, isDirectoryMustExist, isDoneFile, isEagerDeleteTargetFile, isEagerMaxMessagesPerPoll, isFlatten, isIdempotent, isIdempotentSet, isKeepLastModified, isNoop, isReadLockDeleteOrphanLockFiles, isReadLockMarkerFile, isReadLockRemoveOnCommit, isReadLockRemoveOnRollback, isRecursive, isShuffle, isSingleton, isStartingDirectoryMustExist, setAllowNullBody, setAntExclude, setAntFilterCaseSensitive, setAntInclude, setAutoCreate, setBufferSize, setCharset, setChmod, setDelete, setDirectoryMustExist, setDoneFileName, setEagerDeleteTargetFile, setEagerMaxMessagesPerPoll, setExclude, setExclusiveReadLockStrategy, setFileExist, setFileName, setFileName, setFilter, setFlatten, setIdempotent, setIdempotentKey, setIdempotentKey, setIdempotentRepository, setInclude, setInProgressRepository, setKeepLastModified, setLocalWorkDirectory, setMaxDepth, setMaxMessagesPerPoll, setMinDepth, setMove, setMove, setMoveExisting, setMoveExisting, setMoveFailed, setMoveFailed, setNoop, setOnCompletionExceptionHandler, setPreMove, setPreMove, setProcessStrategy, setReadLock, setReadLockCheckInterval, setReadLockDeleteOrphanLockFiles, setReadLockLoggingLevel, setReadLockMarkerFile, setReadLockMinAge, setReadLockMinLength, setReadLockRemoveOnCommit, setReadLockRemoveOnRollback, setReadLockTimeout, setRecursive, setShuffle, setSortBy, setSortBy, setSortBy, setSorter, setStartingDirectoryMustExist, setTempFileName, setTempFileName, setTempPrefixconfigurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, wait@UriParam protected SftpConfiguration configuration
@UriParam(label="advanced") protected com.jcraft.jsch.Proxy proxy
public SftpEndpoint()
public SftpEndpoint(String uri, SftpComponent component, SftpConfiguration configuration)
public SftpConfiguration getConfiguration()
getConfiguration in class RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>public void setConfiguration(org.apache.camel.component.file.GenericFileConfiguration configuration)
setConfiguration in class org.apache.camel.component.file.GenericFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>protected RemoteFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry> buildConsumer(org.apache.camel.Processor processor)
RemoteFileEndpointbuildConsumer in class RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>processor - the processorprotected org.apache.camel.component.file.GenericFileProducer<com.jcraft.jsch.ChannelSftp.LsEntry> buildProducer()
RemoteFileEndpointbuildProducer in class RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>public RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> createRemoteFileOperations()
RemoteFileEndpointcreateRemoteFileOperations in class RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>public com.jcraft.jsch.Proxy getProxy()
public void setProxy(com.jcraft.jsch.Proxy proxy)
public String getScheme()
getScheme in class org.apache.camel.component.file.GenericFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>Apache Camel