org.apache.camel.component.file.remote
Class SftpEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.component.file.GenericFileEndpoint<T>
org.apache.camel.component.file.remote.RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
org.apache.camel.component.file.remote.SftpEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton
public class SftpEndpoint
- extends RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
Secure FTP endpoint
Fields inherited from class org.apache.camel.component.file.GenericFileEndpoint |
autoCreate, bufferSize, configuration, DEFAULT_IDEMPOTENT_CACHE_SIZE, DEFAULT_STRATEGYFACTORY_CLASS, delete, exclude, exclusiveReadLockStrategy, fileExist, fileName, filter, flatten, idempotent, idempotentRepository, include, inProgressRepository, localWorkDirectory, log, maxMessagesPerPoll, move, moveFailed, noop, preMove, processStrategy, readLock, readLockTimeout, recursive, sortBy, sorter, tempPrefix |
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileEndpoint |
afterPropertiesSet, createConsumer, createExchange, createProducer, getFileSeparator, getMaximumReconnectAttempts, getReconnectDelay, isAbsolute, remoteServerInformation, setMaximumReconnectAttempts, setReconnectDelay |
Methods inherited from class org.apache.camel.component.file.GenericFileEndpoint |
configureMessage, configureMoveOrPreMoveExpression, createGenericFileStrategy, getBufferSize, getConfiguration, getExclude, getExclusiveReadLockStrategy, getFileExist, getFileName, getFilter, getGeneratedFileName, getGenericFileProcessStrategy, getIdempotentRepository, getInclude, getInProgressRepository, getLocalWorkDirectory, getMaxMessagesPerPoll, getMove, getMoveFailed, getParamsAsMap, getPreMove, getProcessStrategy, getReadLock, getReadLockTimeout, getSortBy, getSorter, getTempPrefix, isAutoCreate, isDelete, isFlatten, isIdempotent, isNoop, isRecursive, isSingleton, setAutoCreate, setBufferSize, setConfiguration, setDelete, setExclude, setExclusiveReadLockStrategy, setFileExist, setFileName, setFileName, setFilter, setFlatten, setIdempotent, setIdempotentRepository, setInclude, setInProgressRepository, setLocalWorkDirectory, setMaxMessagesPerPoll, setMove, setMove, setMoveFailed, setMoveFailed, setNoop, setPreMove, setPreMove, setProcessStrategy, setReadLock, setReadLockTimeout, setRecursive, setSortBy, setSortBy, setSortBy, setSorter, setTempPrefix |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, createScheduledExecutorService, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, getScheduledExecutorService, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
SftpEndpoint
public SftpEndpoint()
SftpEndpoint
public SftpEndpoint(String uri,
SftpComponent component,
RemoteFileConfiguration configuration)
buildConsumer
protected RemoteFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry> buildConsumer(Processor processor)
- Description copied from class:
RemoteFileEndpoint
- Remote File Endpoints, impl this method to create a custom consumer specific to their "protocol" etc.
- Specified by:
buildConsumer
in class RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
- Parameters:
processor
- the processor
- Returns:
- the created consumer
buildProducer
protected GenericFileProducer<com.jcraft.jsch.ChannelSftp.LsEntry> buildProducer()
- Description copied from class:
RemoteFileEndpoint
- Remote File Endpoints, impl this method to create a custom producer specific to their "protocol" etc.
- Specified by:
buildProducer
in class RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
- Returns:
- the created producer
createRemoteFileOperations
protected RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> createRemoteFileOperations()
getScheme
public String getScheme()
- Specified by:
getScheme
in class GenericFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
Apache CAMEL