@UriEndpoint(firstVersion="2.2.0",
scheme="ftps",
extendsScheme="file",
title="FTPS",
syntax="ftps:host:port/directoryName",
alternativeSyntax="ftps:username:password@host:port/directoryName",
label="file")
@Metadata(excludeProperties="appendChars,readLockIdempotentReleaseAsync,readLockIdempotentReleaseAsyncPoolSize,readLockIdempotentReleaseDelay,readLockIdempotentReleaseExecutorService,directoryMustExist,extendedAttributes,probeContentType,startingDirectoryMustExist,startingDirectoryMustHaveAccess,chmodDirectory,forceWrites,copyAndDeleteOnRenameFail,renameUsingCopy")
@ManagedResource(description="Managed FtpsEndpoint")
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.support.jsse.SSLContextParameters |
sslContextParameters |
dataTimeout, ftpClient, ftpClientConfig, ftpClientConfigParameters, ftpClientParameters, resumeDownload, soTimeout, transferLoggingIntervalSeconds, transferLoggingLevel, transferLoggingVerboseallowNullBody, antExclude, antFilter, antFilterCaseSensitive, antInclude, appendChars, autoCreate, bufferSize, charset, DEFAULT_IDEMPOTENT_CACHE_SIZE, DEFAULT_IN_PROGRESS_CACHE_SIZE, delete, doneFileName, eagerDeleteTargetFile, eagerMaxMessagesPerPoll, exclude, exclusiveReadLockStrategy, fileExist, fileName, filter, filterDirectory, filterFile, flatten, idempotent, idempotentKey, idempotentRepository, include, inProgressRepository, jailStartingDirectory, keepLastModified, localWorkDirectory, maxDepth, maxMessagesPerPoll, minDepth, move, moveExisting, moveExistingFileStrategy, moveFailed, noop, onCompletionExceptionHandler, preMove, preSort, processStrategy, readLock, readLockCheckInterval, readLockDeleteOrphanLockFiles, readLockIdempotentReleaseAsync, readLockIdempotentReleaseAsyncPoolSize, readLockIdempotentReleaseDelay, readLockIdempotentReleaseExecutorService, readLockLoggingLevel, readLockMarkerFile, readLockMinAge, readLockMinLength, readLockRemoveOnCommit, readLockRemoveOnRollback, readLockTimeout, recursive, shuffle, sortBy, sorter, 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.
|
FtpsConfiguration |
getConfiguration() |
Map<String,Object> |
getFtpClientKeyStoreParameters() |
Map<String,Object> |
getFtpClientTrustStoreParameters() |
org.apache.commons.net.ftp.FTPSClient |
getFtpsClient()
Returns the FTPSClient.
|
FtpsConfiguration |
getFtpsConfiguration()
Returns the FtpsConfiguration.
|
String |
getScheme() |
org.apache.camel.support.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.support.jsse.SSLContextParameters sslContextParameters)
Gets the JSSE configuration that overrides any settings in
ftpClientKeyStoreParameters,
ftpClientTrustStoreParameters, and
FtpsConfiguration.getSecurityProtocol(). |
buildConsumer, buildProducer, createConsumer, createGenericFileStrategy, getDataTimeout, getFileSeparator, getFtpClient, getFtpClientConfig, getFtpClientConfigParameters, getFtpClientParameters, getSoTimeout, getTransferLoggingIntervalSeconds, getTransferLoggingLevel, getTransferLoggingLevelName, isResumeDownload, isTransferLoggingVerbose, setConfiguration, setDataTimeout, setFtpClient, setFtpClientConfig, setResumeDownload, setSoTimeout, setTransferLoggingIntervalSeconds, setTransferLoggingLevel, setTransferLoggingLevelName, setTransferLoggingVerboseafterPropertiesSet, createExchange, createPollingConsumer, createProducer, getMaximumReconnectAttempts, getParamsAsMap, getReconnectDelay, isAbsolute, isDisconnect, isDisconnectOnBatchComplete, isDownload, isFastExistsCheck, isSingletonProducer, remoteServerInformation, setDisconnect, setDisconnectOnBatchComplete, setDownload, setFastExistsCheck, setMaximumReconnectAttempts, setReconnectDelayconfigureExchange, configureMessage, configureMoveOrPreMoveExpression, createDoneFileName, doStart, doStop, getAntExclude, getAntFilter, getAntInclude, getAppendChars, getBufferSize, getCharset, getDoneFileName, getExchanges, getExclude, getExcludePattern, getExclusiveReadLockStrategy, getFileExist, getFileName, getFilter, getFilterDirectory, getFilterFile, getGeneratedFileName, getIdempotent, getIdempotentKey, getIdempotentRepository, getInclude, getIncludePattern, getInProgressRepository, getLocalWorkDirectory, getMaxDepth, getMaxMessagesPerPoll, getMinDepth, getMove, getMoveExisting, getMoveExistingFileStrategy, getMoveFailed, getOnCompletionExceptionHandler, getPreMove, getProcessStrategy, getReadLock, getReadLockCheckInterval, getReadLockIdempotentReleaseAsyncPoolSize, getReadLockIdempotentReleaseDelay, getReadLockIdempotentReleaseExecutorService, getReadLockLoggingLevel, getReadLockMinAge, getReadLockMinLength, getReadLockTimeout, getSortBy, getSorter, getTempFileName, getTempPrefix, isAllowNullBody, isAntFilterCaseSensitive, isAutoCreate, isDelete, isDoneFile, isEagerDeleteTargetFile, isEagerMaxMessagesPerPoll, isFlatten, isIdempotent, isIdempotentSet, isJailStartingDirectory, isKeepLastModified, isNoop, isPreSort, isReadLockDeleteOrphanLockFiles, isReadLockIdempotentReleaseAsync, isReadLockMarkerFile, isReadLockRemoveOnCommit, isReadLockRemoveOnRollback, isRecursive, isShuffle, setAllowNullBody, setAntExclude, setAntFilterCaseSensitive, setAntInclude, setAppendChars, setAutoCreate, setBufferSize, setCharset, setDelete, setDoneFileName, setEagerDeleteTargetFile, setEagerMaxMessagesPerPoll, setExclude, setExclusiveReadLockStrategy, setFileExist, setFileName, setFileName, setFilter, setFilterDirectory, setFilterDirectory, setFilterFile, setFilterFile, setFlatten, setIdempotent, setIdempotentKey, setIdempotentKey, setIdempotentRepository, setInclude, setInProgressRepository, setJailStartingDirectory, setKeepLastModified, setLocalWorkDirectory, setMaxDepth, setMaxMessagesPerPoll, setMinDepth, setMove, setMove, setMoveExisting, setMoveExisting, setMoveExistingFileStrategy, setMoveFailed, setMoveFailed, setNoop, setOnCompletionExceptionHandler, setPreMove, setPreMove, setPreSort, setProcessStrategy, setReadLock, setReadLockCheckInterval, setReadLockDeleteOrphanLockFiles, setReadLockIdempotentReleaseAsync, setReadLockIdempotentReleaseAsyncPoolSize, setReadLockIdempotentReleaseDelay, setReadLockIdempotentReleaseExecutorService, setReadLockLoggingLevel, setReadLockMarkerFile, setReadLockMinAge, setReadLockMinLength, setReadLockRemoveOnCommit, setReadLockRemoveOnRollback, setReadLockTimeout, setRecursive, setShuffle, setSortBy, setSortBy, setSortBy, setSorter, setTempFileName, setTempFileName, setTempPrefixconfigureConsumer, configureProperties, configureScheduledPollConsumerProperties, doConfigureConsumer, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRepeatCount, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRepeatCount, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelayconfigurePollingConsumer, createAsyncProducer, createEndpointUri, createExchange, createExchange, doInit, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toStringbuild, doBuild, doFail, 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, finalize, getClass, notify, notifyAll, wait, wait, waitconfigureProperties, createAsyncProducer, createExchange, createExchange, getCamelContext, getEndpointBaseUri, getEndpointKey, getEndpointUri, isLenientProperties, setCamelContext@UriParam protected FtpsConfiguration configuration
@UriParam(label="security") protected org.apache.camel.support.jsse.SSLContextParameters sslContextParameters
@UriParam(label="security",
prefix="ftpClient.keyStore.",
multiValue=true)
protected Map<String,Object> ftpClientKeyStoreParameters
public FtpsEndpoint()
public FtpsEndpoint(String uri, RemoteFileComponent<org.apache.commons.net.ftp.FTPFile> remoteFileComponent, FtpsConfiguration configuration)
public FtpsConfiguration getConfiguration()
getConfiguration in class FtpEndpoint<org.apache.commons.net.ftp.FTPFile>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.support.jsse.SSLContextParameters getSslContextParameters()
ftpClientKeyStoreParameters,
ftpClientTrustStoreParameters, and
FtpsConfiguration.getSecurityProtocol().public void setSslContextParameters(org.apache.camel.support.jsse.SSLContextParameters sslContextParameters)
ftpClientKeyStoreParameters,
ftpClientTrustStoreParameters, and
FtpsConfiguration.getSecurityProtocol().Apache Camel