org.apache.camel.component.file.remote
Class FtpProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer<T>
org.apache.camel.component.file.remote.RemoteFileProducer<RemoteFileExchange>
org.apache.camel.component.file.remote.FtpProducer
- All Implemented Interfaces:
- Processor, Producer<RemoteFileExchange>, Service
public class FtpProducer
- extends RemoteFileProducer<RemoteFileExchange>
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
FtpProducer
public FtpProducer(FtpEndpoint endpoint,
org.apache.commons.net.ftp.FTPClient client)
process
public void process(Exchange exchange)
throws Exception
- Throws:
Exception
connectIfNecessary
protected void connectIfNecessary()
throws IOException
- Specified by:
connectIfNecessary in class RemoteFileProducer<RemoteFileExchange>
- Throws:
IOException
disconnect
public void disconnect()
throws IOException
- Specified by:
disconnect in class RemoteFileProducer<RemoteFileExchange>
- Throws:
IOException
process
public void process(RemoteFileExchange exchange)
throws Exception
- Throws:
Exception
Copyright © 2009 Apache Software Foundation. All Rights Reserved.