org.apache.camel.component.file.remote
Class SftpEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint<E>
org.apache.camel.impl.ScheduledPollEndpoint<T>
org.apache.camel.component.file.remote.RemoteFileEndpoint<RemoteFileExchange>
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
|
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.DefaultEndpoint |
convertTo, createEndpointUri, createExchange, createExecutorService, createPollingConsumer, equals, getCamelContext, getComponent, getContext, getEndpointUri, getExchangePattern, getExchangeType, getExecutorService, hashCode, isLenientProperties, setCamelContext, setContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setExecutorService, toString |
log
protected final transient org.apache.commons.logging.Log log
SftpEndpoint
public SftpEndpoint(String uri,
RemoteFileComponent remoteFileComponent,
RemoteFileConfiguration configuration)
SftpEndpoint
public SftpEndpoint(String endpointUri)
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