org.apache.camel.component.file.remote
Class FtpsEndpoint
java.lang.Object
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.impl.ScheduledPollEndpoint
org.apache.camel.component.file.GenericFileEndpoint<T>
org.apache.camel.component.file.remote.RemoteFileEndpoint<org.apache.commons.net.ftp.FTPFile>
org.apache.camel.component.file.remote.FtpEndpoint<org.apache.commons.net.ftp.FTPFile>
org.apache.camel.component.file.remote.FtpsEndpoint
- All Implemented Interfaces:
- CamelContextAware, Endpoint, IsSingleton
public class FtpsEndpoint
- extends FtpEndpoint<org.apache.commons.net.ftp.FTPFile>
FTP Secure (FTP over SSL/TLS) endpoint
- Version:
- $Revision: 960914 $
Fields inherited from class org.apache.camel.component.file.GenericFileEndpoint |
autoCreate, bufferSize, configuration, DEFAULT_IDEMPOTENT_CACHE_SIZE, DEFAULT_STRATEGYFACTORY_CLASS, delete, eagerDeleteTargetFile, exclude, exclusiveReadLockStrategy, fileExist, fileName, filter, flatten, idempotent, idempotentRepository, include, inProgressRepository, keepLastModified, localWorkDirectory, log, maxMessagesPerPoll, move, moveFailed, noop, preMove, processStrategy, readLock, readLockTimeout, recursive, sortBy, sorter, tempFileName, tempPrefix |
Methods inherited from class org.apache.camel.component.file.remote.FtpEndpoint |
buildConsumer, buildProducer, getConfiguration, getFtpClient, getFtpClientConfig, getSoTimeout, setConfiguration, setConfiguration, setFtpClient, setFtpClientConfig, setSoTimeout |
Methods inherited from class org.apache.camel.component.file.remote.RemoteFileEndpoint |
afterPropertiesSet, createConsumer, createExchange, createProducer, getFileSeparator, getMaximumReconnectAttempts, getReconnectDelay, isAbsolute, isDisconnect, remoteServerInformation, setDisconnect, setMaximumReconnectAttempts, setReconnectDelay |
Methods inherited from class org.apache.camel.component.file.GenericFileEndpoint |
configureMessage, configureMoveOrPreMoveExpression, createGenericFileStrategy, getBufferSize, getExclude, getExclusiveReadLockStrategy, getFileExist, getFileName, getFilter, getGeneratedFileName, getGenericFileProcessStrategy, getIdempotentRepository, getInclude, getInProgressRepository, getLocalWorkDirectory, getMaxMessagesPerPoll, getMove, getMoveFailed, getParamsAsMap, getPreMove, getProcessStrategy, getReadLock, getReadLockTimeout, getSortBy, getSorter, getTempFileName, getTempPrefix, isAutoCreate, isDelete, isEagerDeleteTargetFile, isFlatten, isIdempotent, isKeepLastModified, isNoop, isRecursive, isSingleton, setAutoCreate, setBufferSize, setDelete, setEagerDeleteTargetFile, setExclude, setExclusiveReadLockStrategy, setFileExist, setFileName, setFileName, setFilter, setFlatten, setIdempotent, setIdempotentRepository, setInclude, setInProgressRepository, setKeepLastModified, setLocalWorkDirectory, setMaxMessagesPerPoll, setMove, setMove, setMoveFailed, setMoveFailed, setNoop, setPreMove, setPreMove, setProcessStrategy, setReadLock, setReadLockTimeout, setRecursive, setSortBy, setSortBy, setSortBy, setSorter, setTempFileName, setTempFileName, setTempPrefix |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString |
ftpClientKeyStoreParameters
protected Map<String,Object> ftpClientKeyStoreParameters
ftpClientTrustStoreParameters
protected Map<String,Object> ftpClientTrustStoreParameters
FtpsEndpoint
public FtpsEndpoint()
FtpsEndpoint
public FtpsEndpoint(String uri,
RemoteFileComponent<org.apache.commons.net.ftp.FTPFile> remoteFileComponent,
RemoteFileConfiguration configuration)
getScheme
public String getScheme()
- Overrides:
getScheme
in class FtpEndpoint<org.apache.commons.net.ftp.FTPFile>
createFtpClient
protected org.apache.commons.net.ftp.FTPClient createFtpClient()
throws Exception
- Create the FTPS client.
- Overrides:
createFtpClient
in class FtpEndpoint<org.apache.commons.net.ftp.FTPFile>
- Throws:
Exception
createRemoteFileOperations
protected RemoteFileOperations<org.apache.commons.net.ftp.FTPFile> createRemoteFileOperations()
throws Exception
- Description copied from class:
RemoteFileEndpoint
- Creates the operations to be used by the consumer or producer.
- Overrides:
createRemoteFileOperations
in class FtpEndpoint<org.apache.commons.net.ftp.FTPFile>
- Returns:
- a new created operations
- Throws:
Exception
- is thrown if error creating operations.
getFtpsClient
public org.apache.commons.net.ftp.FTPSClient getFtpsClient()
- Returns the FTPSClient. This method exists only for convenient.
- Returns:
- ftpsClient
getFtpsConfiguration
public FtpsConfiguration getFtpsConfiguration()
- Returns the FtpsConfiguration. This method exists only for convenient.
- Returns:
- ftpsConfiguration
setFtpClientKeyStoreParameters
public void setFtpClientKeyStoreParameters(Map<String,Object> param)
- Set the key store parameters
setFtpClientTrustStoreParameters
public void setFtpClientTrustStoreParameters(Map<String,Object> param)
- Set the trust store parameters
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.