org.apache.camel.component.file.remote
Class FtpsComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent
org.apache.camel.component.file.GenericFileComponent<T>
org.apache.camel.component.file.remote.RemoteFileComponent<org.apache.commons.net.ftp.FTPFile>
org.apache.camel.component.file.remote.FtpComponent
org.apache.camel.component.file.remote.FtpsComponent
- All Implemented Interfaces:
- Component, Service, ShutdownableService
public class FtpsComponent
- extends FtpComponent
FTP Secure (FTP over SSL/TLS) Component.
If desired, the JVM property -Djavax.net.debug=all can be used to see wire-level SSL details.
- Version:
- $Revision: 951412 $
Methods inherited from class org.apache.camel.impl.DefaultComponent |
afterConfiguration, createEndpoint, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FtpsComponent
public FtpsComponent()
FtpsComponent
public FtpsComponent(CamelContext context)
buildFileEndpoint
protected GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> buildFileEndpoint(String uri,
String remaining,
Map<String,Object> parameters)
throws Exception
- Overrides:
buildFileEndpoint
in class FtpComponent
- Throws:
Exception
extractAndSetFtpClientKeyStoreParameters
protected void extractAndSetFtpClientKeyStoreParameters(Map<String,Object> parameters,
FtpsEndpoint endpoint)
- Extract additional ftp client key store options from the parameters map (parameters starting with
'ftpClient.keyStore.'). To remember these parameters, we set them in the endpoint and we can use
them when creating a client.
extractAndSetFtpClientTrustStoreParameters
protected void extractAndSetFtpClientTrustStoreParameters(Map<String,Object> parameters,
FtpsEndpoint endpoint)
- Extract additional ftp client trust store options from the parameters map (parameters starting with
'ftpClient.trustStore.'). To remember these parameters, we set them in the endpoint and we can use
them when creating a client.
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.