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

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint<E>
      extended by org.apache.camel.impl.ScheduledPollEndpoint<T>
          extended by org.apache.camel.component.file.remote.RemoteFileEndpoint<RemoteFileExchange>
              extended by org.apache.camel.component.file.remote.SftpEndpoint
All Implemented Interfaces:
CamelContextAware, Endpoint<RemoteFileExchange>

public class SftpEndpoint
extends RemoteFileEndpoint<RemoteFileExchange>


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
SftpEndpoint(String endpointUri)
           
SftpEndpoint(String uri, RemoteFileComponent remoteFileComponent, RemoteFileConfiguration configuration)
           
 
Method Summary
 com.jcraft.jsch.ChannelSftp createChannelSftp(com.jcraft.jsch.Session session)
           
 SftpConsumer createConsumer(Processor processor)
           
 SftpProducer createProducer()
           
protected  com.jcraft.jsch.Session createSession()
           
 
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileEndpoint
createExchange, createExchange, createExchange, createRemoteFileBinding, getBinding, getConfiguration, getFileFriendlyMessageId, getGeneratedFileName, isSingleton, setBinding, setConfiguration
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
convertTo, createEndpointUri, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected final transient org.apache.commons.logging.Log log
Constructor Detail

SftpEndpoint

public SftpEndpoint(String uri,
                    RemoteFileComponent remoteFileComponent,
                    RemoteFileConfiguration configuration)

SftpEndpoint

public SftpEndpoint(String endpointUri)
Method Detail

createProducer

public SftpProducer createProducer()
                            throws Exception
Throws:
Exception

createConsumer

public SftpConsumer createConsumer(Processor processor)
                            throws Exception
Throws:
Exception

createSession

protected com.jcraft.jsch.Session createSession()
                                         throws com.jcraft.jsch.JSchException
Throws:
com.jcraft.jsch.JSchException

createChannelSftp

public com.jcraft.jsch.ChannelSftp createChannelSftp(com.jcraft.jsch.Session session)
                                              throws com.jcraft.jsch.JSchException
Throws:
com.jcraft.jsch.JSchException


Apache CAMEL