@UriEndpoint(scheme="ftps",
extendsScheme="file",
title="FTPS",
syntax="ftps:host:port/directoryName",
consumerClass=FtpConsumer.class,
label="file")
public class FtpsEndpoint
extends FtpEndpoint<org.apache.commons.net.ftp.FTPFile>
| Modifier and Type | Field and Description |
|---|---|
protected FtpsConfiguration |
configuration |
protected Map<String,Object> |
ftpClientKeyStoreParameters |
protected Map<String,Object> |
ftpClientTrustStoreParameters |
protected org.apache.camel.util.jsse.SSLContextParameters |
sslContextParameters |
dataTimeout, ftpClient, ftpClientConfig, ftpClientConfigParameters, ftpClientParameters, soTimeoutallowNullBody, antExclude, antFilter, antInclude, autoCreate, bufferSize, charset, chmod, DEFAULT_IDEMPOTENT_CACHE_SIZE, DEFAULT_STRATEGYFACTORY_CLASS, delete, directoryMustExist, doneFileName, eagerDeleteTargetFile, eagerMaxMessagesPerPoll, exclude, exclusiveReadLockStrategy, fileExist, fileName, filter, flatten, idempotent, idempotentKey, idempotentRepository, include, inProgressRepository, keepLastModified, localWorkDirectory, log, maxDepth, maxMessagesPerPoll, minDepth, move, moveExisting, moveFailed, noop, onCompletionExceptionHandler, preMove, processStrategy, readLock, readLockCheckInterval, readLockDeleteOrphanLockFiles, readLockLoggingLevel, readLockMarkerFile, readLockMinAge, readLockMinLength, readLockRemoveOnCommit, readLockRemoveOnRollback, readLockTimeout, recursive, shuffle, sortBy, sorter, startingDirectoryMustExist, tempFileName, tempPrefix| Constructor and Description |
|---|
FtpsEndpoint() |
FtpsEndpoint(String uri,
RemoteFileComponent<org.apache.commons.net.ftp.FTPFile> remoteFileComponent,
FtpsConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.net.ftp.FTPClient |
createFtpClient()
Create the FTPS client.
|
RemoteFileOperations<org.apache.commons.net.ftp.FTPFile> |
createRemoteFileOperations()
Creates the operations to be used by the consumer or producer.
|
org.apache.commons.net.ftp.FTPSClient |
getFtpsClient()
Returns the FTPSClient.
|
FtpsConfiguration |
getFtpsConfiguration()
Returns the FtpsConfiguration.
|
String |
getScheme() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters()
Gets the JSSE configuration that overrides any settings in
ftpClientKeyStoreParameters,
ftpClientTrustStoreParameters, and FtpsConfiguration.getSecurityProtocol(). |
void |
setFtpClientKeyStoreParameters(Map<String,Object> param)
Set the key store parameters
|
void |
setFtpClientTrustStoreParameters(Map<String,Object> param)
Set the trust store parameters
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
Gets the JSSE configuration that overrides any settings in
ftpClientKeyStoreParameters,
ftpClientTrustStoreParameters, and FtpsConfiguration.getSecurityProtocol(). |
buildConsumer, buildProducer, getConfiguration, getDataTimeout, getFileSeparator, getFtpClient, getFtpClientConfig, getSoTimeout, setConfiguration, setDataTimeout, setFtpClient, setFtpClientConfig, setSoTimeoutafterPropertiesSet, createConsumer, createExchange, createProducer, getMaximumReconnectAttempts, getParamsAsMap, getReconnectDelay, isAbsolute, isDisconnect, isDownload, isFastExistsCheck, remoteServerInformation, setDisconnect, setDownload, setFastExistsCheck, setMaximumReconnectAttempts, setReconnectDelaychmodPermissionsAreValid, configureExchange, configureMessage, configureMoveOrPreMoveExpression, createDoneFileName, createGenericFileStrategy, doStart, doStop, getAntExclude, getAntFilter, getAntInclude, getBufferSize, getCharset, getChmod, getDoneFileName, getExchanges, getExclude, getExclusiveReadLockStrategy, getFileExist, getFileName, getFilter, getGeneratedFileName, getGenericFileProcessStrategy, getIdempotentKey, getIdempotentRepository, getInclude, getInProgressRepository, getLocalWorkDirectory, getMaxDepth, getMaxMessagesPerPoll, getMinDepth, getMove, getMoveExisting, getMoveFailed, getOnCompletionExceptionHandler, getPermissions, getPreMove, getProcessStrategy, getReadLock, getReadLockCheckInterval, getReadLockLoggingLevel, getReadLockMinAge, getReadLockMinLength, getReadLockTimeout, getSortBy, getSorter, getTempFileName, getTempPrefix, isAllowNullBody, isAutoCreate, isDelete, isDirectoryMustExist, isDoneFile, isEagerDeleteTargetFile, isEagerMaxMessagesPerPoll, isFlatten, isIdempotent, isIdempotentSet, isKeepLastModified, isNoop, isReadLockDeleteOrphanLockFiles, isReadLockMarkerFile, isReadLockRemoveOnCommit, isReadLockRemoveOnRollback, isRecursive, isShuffle, isSingleton, isStartingDirectoryMustExist, setAllowNullBody, setAntExclude, setAntFilterCaseSensitive, setAntInclude, setAutoCreate, setBufferSize, setCharset, setChmod, setDelete, setDirectoryMustExist, setDoneFileName, setEagerDeleteTargetFile, setEagerMaxMessagesPerPoll, setExclude, setExclusiveReadLockStrategy, setFileExist, setFileName, setFileName, setFilter, setFlatten, setIdempotent, setIdempotentKey, setIdempotentKey, setIdempotentRepository, setInclude, setInProgressRepository, setKeepLastModified, setLocalWorkDirectory, setMaxDepth, setMaxMessagesPerPoll, setMinDepth, setMove, setMove, setMoveExisting, setMoveExisting, setMoveFailed, setMoveFailed, setNoop, setOnCompletionExceptionHandler, setPreMove, setPreMove, setProcessStrategy, setReadLock, setReadLockCheckInterval, setReadLockDeleteOrphanLockFiles, setReadLockLoggingLevel, setReadLockMarkerFile, setReadLockMinAge, setReadLockMinLength, setReadLockRemoveOnCommit, setReadLockRemoveOnRollback, setReadLockTimeout, setRecursive, setShuffle, setSortBy, setSortBy, setSortBy, setSorter, setStartingDirectoryMustExist, setTempFileName, setTempFileName, setTempPrefixconfigurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, finalize, getClass, notify, notifyAll, wait, wait, wait@UriParam protected FtpsConfiguration configuration
@UriParam(label="security") protected org.apache.camel.util.jsse.SSLContextParameters sslContextParameters
public FtpsEndpoint()
public FtpsEndpoint(String uri, RemoteFileComponent<org.apache.commons.net.ftp.FTPFile> remoteFileComponent, FtpsConfiguration configuration)
public String getScheme()
getScheme in class FtpEndpoint<org.apache.commons.net.ftp.FTPFile>protected org.apache.commons.net.ftp.FTPClient createFtpClient()
throws Exception
createFtpClient in class FtpEndpoint<org.apache.commons.net.ftp.FTPFile>Exceptionpublic RemoteFileOperations<org.apache.commons.net.ftp.FTPFile> createRemoteFileOperations() throws Exception
RemoteFileEndpointcreateRemoteFileOperations in class FtpEndpoint<org.apache.commons.net.ftp.FTPFile>Exception - is thrown if error creating operations.public org.apache.commons.net.ftp.FTPSClient getFtpsClient()
public FtpsConfiguration getFtpsConfiguration()
public void setFtpClientKeyStoreParameters(Map<String,Object> param)
public void setFtpClientTrustStoreParameters(Map<String,Object> param)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
ftpClientKeyStoreParameters,
ftpClientTrustStoreParameters, and FtpsConfiguration.getSecurityProtocol().public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
ftpClientKeyStoreParameters,
ftpClientTrustStoreParameters, and FtpsConfiguration.getSecurityProtocol().Apache Camel