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

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.FtpEndpoint
All Implemented Interfaces:
org.apache.camel.Endpoint<RemoteFileExchange>

public class FtpEndpoint
extends RemoteFileEndpoint<RemoteFileExchange>


Constructor Summary
FtpEndpoint(String uri, RemoteFileComponent remoteFileComponent, RemoteFileConfiguration configuration)
           
 
Method Summary
 FtpConsumer createConsumer(org.apache.camel.Processor processor)
           
protected  org.apache.commons.net.ftp.FTPClient createFtpClient()
           
 FtpProducer 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

FtpEndpoint

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

createProducer

public FtpProducer createProducer()
                           throws Exception
Throws:
Exception

createConsumer

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

createFtpClient

protected org.apache.commons.net.ftp.FTPClient createFtpClient()
                                                        throws IOException
Throws:
IOException


Copyright © 2007 Apache Software Foundation. All Rights Reserved.