org.apache.camel.component.file.remote
Class SftpEndpoint

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultEndpoint
          extended by org.apache.camel.impl.ScheduledPollEndpoint
              extended by org.apache.camel.component.file.GenericFileEndpoint<T>
                  extended by org.apache.camel.component.file.remote.RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
                      extended by org.apache.camel.component.file.remote.SftpEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint, IsSingleton, Service, ShutdownableService, BrowsableEndpoint, HasId

public class SftpEndpoint
extends RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>

Secure FTP endpoint


Field Summary
 
Fields inherited from class org.apache.camel.component.file.GenericFileEndpoint
autoCreate, bufferSize, charset, configuration, DEFAULT_IDEMPOTENT_CACHE_SIZE, DEFAULT_STRATEGYFACTORY_CLASS, delete, directoryMustExist, doneFileName, eagerDeleteTargetFile, exclude, exclusiveReadLockStrategy, fileExist, fileName, filter, flatten, idempotent, idempotentRepository, include, inProgressRepository, keepLastModified, localWorkDirectory, log, maxDepth, maxMessagesPerPoll, minDepth, move, moveFailed, noop, preMove, processStrategy, readLock, readLockCheckInterval, readLockTimeout, recursive, sortBy, sorter, startingDirectoryMustExist, tempFileName, tempPrefix
 
Constructor Summary
SftpEndpoint()
           
SftpEndpoint(String uri, SftpComponent component, RemoteFileConfiguration configuration)
           
 
Method Summary
protected  RemoteFileConsumer<com.jcraft.jsch.ChannelSftp.LsEntry> buildConsumer(Processor processor)
          Remote File Endpoints, impl this method to create a custom consumer specific to their "protocol" etc.
protected  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.
 String getScheme()
           
 
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileEndpoint
afterPropertiesSet, createConsumer, createExchange, createProducer, getConfiguration, getFileSeparator, getMaximumReconnectAttempts, getReconnectDelay, isAbsolute, isDisconnect, remoteServerInformation, setDisconnect, setMaximumReconnectAttempts, setReconnectDelay
 
Methods inherited from class org.apache.camel.component.file.GenericFileEndpoint
configureExchange, configureMessage, configureMoveOrPreMoveExpression, createDoneFileName, createGenericFileStrategy, doStart, doStop, getBufferSize, getCharset, getDoneFileName, getExchanges, getExclude, getExclusiveReadLockStrategy, getFileExist, getFileName, getFilter, getGeneratedFileName, getGenericFileProcessStrategy, getIdempotentRepository, getInclude, getInProgressRepository, getLocalWorkDirectory, getMaxDepth, getMaxMessagesPerPoll, getMinDepth, getMove, getMoveFailed, getParamsAsMap, getPreMove, getProcessStrategy, getReadLock, getReadLockCheckInterval, getReadLockTimeout, getSortBy, getSorter, getTempFileName, getTempPrefix, isAutoCreate, isDelete, isDirectoryMustExist, isDoneFile, isEagerDeleteTargetFile, isFlatten, isIdempotent, isKeepLastModified, isNoop, isRecursive, isSingleton, isStartingDirectoryMustExist, setAutoCreate, setBufferSize, setCharset, setConfiguration, setDelete, setDirectoryMustExist, setDoneFileName, setEagerDeleteTargetFile, setExclude, setExclusiveReadLockStrategy, setFileExist, setFileName, setFileName, setFilter, setFlatten, setIdempotent, setIdempotentRepository, setInclude, setInProgressRepository, setKeepLastModified, setLocalWorkDirectory, setMaxDepth, setMaxMessagesPerPoll, setMinDepth, setMove, setMove, setMoveFailed, setMoveFailed, setNoop, setPreMove, setPreMove, setProcessStrategy, setReadLock, setReadLockCheckInterval, setReadLockTimeout, setRecursive, setSortBy, setSortBy, setSortBy, setSorter, setStartingDirectoryMustExist, setTempFileName, setTempFileName, setTempPrefix
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Endpoint
configureProperties, createExchange, createExchange, createExchange, createPollingConsumer, getCamelContext, getEndpointKey, getEndpointUri, isLenientProperties, setCamelContext
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

SftpEndpoint

public SftpEndpoint()

SftpEndpoint

public SftpEndpoint(String uri,
                    SftpComponent component,
                    RemoteFileConfiguration configuration)
Method Detail

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

public RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> createRemoteFileOperations()
Description copied from class: RemoteFileEndpoint
Creates the operations to be used by the consumer or producer.

Specified by:
createRemoteFileOperations in class RemoteFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>
Returns:
a new created operations

getScheme

public String getScheme()
Specified by:
getScheme in class GenericFileEndpoint<com.jcraft.jsch.ChannelSftp.LsEntry>


Apache CAMEL