@Component(value="ftp") public class FtpComponent extends RemoteFileComponent<org.apache.commons.net.ftp.FTPFile>
REMOTE_FILE_INPUT_STREAM| Constructor and Description |
|---|
FtpComponent() |
FtpComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
afterPropertiesSet(org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> endpoint) |
protected org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> |
buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
protected void |
extractAndSetFtpClientConfigParameters(Map<String,Object> parameters,
FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
Extract additional ftp client configuration options from the parameters
map (parameters starting with 'ftpClientConfig.').
|
protected void |
extractAndSetFtpClientParameters(Map<String,Object> parameters,
FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
Extract additional ftp client options from the parameters map (parameters
starting with 'ftpClient.').
|
protected String |
getBaseUri(String uri)
Get the base uri part before the options as they can be non URI valid
such as the expression using $ chars and the URI constructor will regard
$ as an illegal character and we don't want to enforce end users to to
escape the $ for the expression (file language)
|
protected void |
setProperties(org.apache.camel.Endpoint endpoint,
Map<String,Object> parameters) |
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic FtpComponent()
public FtpComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> buildFileEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
buildFileEndpoint in class org.apache.camel.component.file.GenericFileComponent<org.apache.commons.net.ftp.FTPFile>Exceptionprotected String getBaseUri(String uri)
protected void extractAndSetFtpClientConfigParameters(Map<String,Object> parameters, FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
protected void extractAndSetFtpClientParameters(Map<String,Object> parameters, FtpEndpoint<org.apache.commons.net.ftp.FTPFile> answer)
protected void setProperties(org.apache.camel.Endpoint endpoint,
Map<String,Object> parameters)
throws Exception
setProperties in class org.apache.camel.support.DefaultComponentExceptionprotected void afterPropertiesSet(org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> endpoint)
throws Exception
afterPropertiesSet in class org.apache.camel.component.file.GenericFileComponent<org.apache.commons.net.ftp.FTPFile>ExceptionApache Camel