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:
org.apache.camel.Endpoint<RemoteFileExchange>

public class SftpEndpoint
extends RemoteFileEndpoint<RemoteFileExchange>


Constructor Summary
SftpEndpoint(String uri, RemoteFileComponent remoteFileComponent, RemoteFileConfiguration configuration)
           
 
Method Summary
protected  com.jcraft.jsch.ChannelSftp createChannelSftp()
           
 SftpConsumer createConsumer(org.apache.camel.Processor processor)
           
 SftpProducer createProducer()
           
 
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileEndpoint
createExchange, createExchange, createRemoteFileBinding, getBinding, getConfiguration, isSingleton, setBinding
 
Methods inherited from class org.apache.camel.impl.ScheduledPollEndpoint
configureConsumer, configureProperties, getConsumerProperties, setConsumerProperties
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
convertTo, createExchange, createExecutorService, createPollingConsumer, equals, getComponent, getContext, getEndpointUri, getExchangeType, getExecutorService, hashCode, setExecutorService, toExchangeType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SftpEndpoint

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

createProducer

public SftpProducer createProducer()
                            throws Exception
Throws:
Exception

createConsumer

public SftpConsumer createConsumer(org.apache.camel.Processor processor)
                            throws Exception
Throws:
Exception

createChannelSftp

protected com.jcraft.jsch.ChannelSftp createChannelSftp()
                                                 throws com.jcraft.jsch.JSchException
Throws:
com.jcraft.jsch.JSchException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.