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

java.lang.Object
  extended by org.apache.camel.support.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.camel.impl.UriEndpointComponent
              extended by org.apache.camel.component.file.GenericFileComponent<T>
                  extended by org.apache.camel.component.file.remote.RemoteFileComponent<org.apache.commons.net.ftp.FTPFile>
                      extended by org.apache.camel.component.file.remote.FtpComponent
                          extended by org.apache.camel.component.file.remote.FtpsComponent
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.StatefulService, org.apache.camel.SuspendableService

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:

Field Summary
 
Fields inherited from class org.apache.camel.component.file.remote.RemoteFileComponent
REMOTE_FILE_INPUT_STREAM
 
Fields inherited from class org.apache.camel.component.file.GenericFileComponent
log
 
Fields inherited from class org.apache.camel.support.ServiceSupport
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
 
Constructor Summary
FtpsComponent()
           
FtpsComponent(org.apache.camel.CamelContext context)
           
 
Method Summary
protected  org.apache.camel.component.file.GenericFileEndpoint<org.apache.commons.net.ftp.FTPFile> buildFileEndpoint(String uri, String remaining, Map<String,Object> parameters)
           
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.').
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.').
 
Methods inherited from class org.apache.camel.component.file.remote.FtpComponent
afterPropertiesSet, extractAndSetFtpClientConfigParameters, extractAndSetFtpClientParameters, getBaseUri
 
Methods inherited from class org.apache.camel.component.file.GenericFileComponent
createEndpoint
 
Methods inherited from class org.apache.camel.impl.UriEndpointComponent
createComponentConfiguration, createParameterConfigurationMap, getEndpointClass, getParameterConfigurationMap, populateParameterConfigurationMap, setEndpointClass
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
afterConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, preProcessUri, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.support.ServiceSupport
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FtpsComponent

public FtpsComponent()

FtpsComponent

public FtpsComponent(org.apache.camel.CamelContext context)
Method Detail

buildFileEndpoint

protected org.apache.camel.component.file.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.



Apache Camel