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

java.lang.Object
  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

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, 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
 
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.
protected  RemoteFileOperations<com.jcraft.jsch.ChannelSftp.LsEntry> createRemoteFileOperations()
           
 String getScheme()
           
 
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.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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

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