Interface FilesEndpointBuilderFactory.FilesEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
,org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
,FilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
,FilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Enclosing interface:
FilesEndpointBuilderFactory
public static interface FilesEndpointBuilderFactory.FilesEndpointBuilder
extends FilesEndpointBuilderFactory.FilesEndpointConsumerBuilder, FilesEndpointBuilderFactory.FilesEndpointProducerBuilder
Builder for endpoint for the Azure Files component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()
credentialType
(String credentialType) Determines the credential strategy to adopt.credentialType
(org.apache.camel.component.file.azure.CredentialType credentialType) Determines the credential strategy to adopt.disconnect
(boolean disconnect) Whether or not to disconnect from remote FTP server right after use.disconnect
(String disconnect) Whether or not to disconnect from remote FTP server right after use.doneFileName
(String doneFileName) Producer: If provided, then Camel will write a 2nd done file when the original file has been written.Use Expression such as File Language to dynamically set the filename.part of service SAS token.part of SAS token.Shared key (storage account key).part of service SAS token.part of SAS token.part of SAS token.part of SAS token.part of SAS token.part of service SAS token.part of SAS token.part of account SAS token.part of SAS token.part of SAS token.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.FilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
antExclude, antFilterCaseSensitive, antFilterCaseSensitive, antInclude, backoffErrorThreshold, backoffErrorThreshold, backoffIdleThreshold, backoffIdleThreshold, backoffMultiplier, backoffMultiplier, delay, delay, delete, delete, eagerMaxMessagesPerPoll, eagerMaxMessagesPerPoll, exclude, excludeExt, exclusiveReadLockStrategy, exclusiveReadLockStrategy, filter, filter, filterDirectory, filterFile, greedy, greedy, idempotent, idempotent, idempotentEager, idempotentEager, idempotentKey, idempotentRepository, idempotentRepository, include, includeExt, initialDelay, initialDelay, maxDepth, maxDepth, maxMessagesPerPoll, maxMessagesPerPoll, minDepth, minDepth, move, moveFailed, noop, noop, preMove, preSort, preSort, readLock, readLockCheckInterval, readLockCheckInterval, readLockDeleteOrphanLockFiles, readLockDeleteOrphanLockFiles, readLockLoggingLevel, readLockLoggingLevel, readLockMarkerFile, readLockMarkerFile, readLockMinAge, readLockMinAge, readLockMinLength, readLockMinLength, readLockRemoveOnCommit, readLockRemoveOnCommit, readLockRemoveOnRollback, readLockRemoveOnRollback, readLockTimeout, readLockTimeout, recursive, recursive, repeatCount, repeatCount, resumeDownload, resumeDownload, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, shuffle, shuffle, sortBy, sorter, sorter, startScheduler, startScheduler, streamDownload, streamDownload, timeUnit, timeUnit, useFixedDelay, useFixedDelay
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.FilesEndpointBuilderFactory.FilesEndpointProducerBuilder
checksumFileAlgorithm, fileExist, fileExist, flatten, flatten, jailStartingDirectory, jailStartingDirectory, tempFileName, tempPrefix
-
Method Details
-
advanced
- Specified by:
advanced
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
advanced
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
-
credentialType
default FilesEndpointBuilderFactory.FilesEndpointBuilder credentialType(org.apache.camel.component.file.azure.CredentialType credentialType) Determines the credential strategy to adopt. The option is a:org.apache.camel.component.file.azure.CredentialType
type. Default: SHARED_ACCOUNT_KEY Group: common- Specified by:
credentialType
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
credentialType
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
credentialType
- the value to set- Returns:
- the dsl builder
-
credentialType
Determines the credential strategy to adopt. The option will be converted to aorg.apache.camel.component.file.azure.CredentialType
type. Default: SHARED_ACCOUNT_KEY Group: common- Specified by:
credentialType
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
credentialType
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
credentialType
- the value to set- Returns:
- the dsl builder
-
disconnect
Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. The option is a:boolean
type. Default: false Group: common- Specified by:
disconnect
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
disconnect
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
disconnect
- the value to set- Returns:
- the dsl builder
-
disconnect
Whether or not to disconnect from remote FTP server right after use. Disconnect will only disconnect the current connection to the FTP server. If you have a consumer which you want to stop, then you need to stop the consumer/route instead. The option will be converted to aboolean
type. Default: false Group: common- Specified by:
disconnect
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
disconnect
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
disconnect
- the value to set- Returns:
- the dsl builder
-
doneFileName
Producer: If provided, then Camel will write a 2nd done file when the original file has been written. The done file will be empty. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders. The done file will always be written in the same folder as the original file. Consumer: If provided, Camel will only consume files if a done file exists. This option configures what file name to use. Either you can specify a fixed name. Or you can use dynamic placeholders.The done file is always expected in the same folder as the original file. Only ${file.name} and ${file.name.next} is supported as dynamic placeholders. The option is a:java.lang.String
type. Group: common- Specified by:
doneFileName
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
doneFileName
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
doneFileName
- the value to set- Returns:
- the dsl builder
-
fileName
Use Expression such as File Language to dynamically set the filename. For consumers, it's used as a filename filter. For producers, it's used to evaluate the filename to write. If an expression is set, it take precedence over the CamelFileName header. (Note: The header itself can also be an Expression). The expression options support both String and Expression types. If the expression is a String type, it is always evaluated using the File Language. If the expression is an Expression type, the specified Expression type is used - this allows you, for instance, to use OGNL expressions. For the consumer, you can use it to filter filenames, so you can for instance consume today's file using the File Language syntax: mydata-${date:now:yyyyMMdd}.txt. The producers support the CamelOverruleFileName header which takes precedence over any existing CamelFileName header; the CamelOverruleFileName is a header that is used only once, and makes it easier as this avoids to temporary store CamelFileName and have to restore it afterwards. The option is a:java.lang.String
type. Group: common- Specified by:
fileName
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
fileName
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
fileName
- the value to set- Returns:
- the dsl builder
-
sdd
part of service SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
sdd
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
sdd
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
sdd
- the value to set- Returns:
- the dsl builder
-
se
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
se
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
se
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
se
- the value to set- Returns:
- the dsl builder
-
si
part of service SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
si
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
si
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
si
- the value to set- Returns:
- the dsl builder
-
sig
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
sig
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
sig
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
sig
- the value to set- Returns:
- the dsl builder
-
sip
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
sip
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
sip
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
sip
- the value to set- Returns:
- the dsl builder
-
sp
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
sp
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
sp
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
sp
- the value to set- Returns:
- the dsl builder
-
spr
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
spr
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
spr
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
spr
- the value to set- Returns:
- the dsl builder
-
sr
part of service SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
sr
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
sr
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
sr
- the value to set- Returns:
- the dsl builder
-
srt
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
srt
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
srt
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
srt
- the value to set- Returns:
- the dsl builder
-
ss
part of account SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
ss
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
ss
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
ss
- the value to set- Returns:
- the dsl builder
-
st
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
st
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
st
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
st
- the value to set- Returns:
- the dsl builder
-
sv
part of SAS token. The option is a:java.lang.String
type. Group: security- Specified by:
sv
in interfaceFilesEndpointBuilderFactory.FilesEndpointConsumerBuilder
- Specified by:
sv
in interfaceFilesEndpointBuilderFactory.FilesEndpointProducerBuilder
- Parameters:
sv
- the value to set- Returns:
- the dsl builder
-