Interface Smb2EndpointBuilderFactory.Smb2EndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,Smb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder,Smb2EndpointBuilderFactory.Smb2EndpointProducerBuilder
- Enclosing interface:
Smb2EndpointBuilderFactory
public static interface Smb2EndpointBuilderFactory.Smb2EndpointBuilder
extends Smb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder, Smb2EndpointBuilderFactory.Smb2EndpointProducerBuilder
Builder for endpoint for the SMB2 component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()This option is used to specify the encoding of the file.The user domain.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.The password to access the share.The path, within the share, to consume the files from.searchPattern(String searchPattern) The search pattern used to list the files.The username required to access the share.Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointConsumerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolveMethods inherited from interface org.apache.camel.builder.endpoint.dsl.Smb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder
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, runLoggingLevel, runLoggingLevel, scheduledExecutorService, scheduledExecutorService, scheduler, scheduler, schedulerProperties, schedulerProperties, sendEmptyMessageWhenIdle, sendEmptyMessageWhenIdle, shuffle, shuffle, sortBy, sorter, sorter, startScheduler, startScheduler, timeUnit, timeUnit, useFixedDelay, useFixedDelayMethods inherited from interface org.apache.camel.builder.endpoint.dsl.Smb2EndpointBuilderFactory.Smb2EndpointProducerBuilder
checksumFileAlgorithm, fileExist, fileExist, flatten, flatten, jailStartingDirectory, jailStartingDirectory, moveExisting, readBufferSize, readBufferSize, tempFileName, tempPrefix
-
Method Details
-
advanced
- Specified by:
advancedin interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
advancedin interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder
-
charset
This option is used to specify the encoding of the file. You can use this on the consumer, to specify the encodings of the files, which allow Camel to know the charset it should load the file content in case the file content is being accessed. Likewise when writing a file, you can use this option to specify which charset to write the file as well. Do mind that when writing the file Camel may have to read the message content into memory to be able to convert the data into the configured charset, so do not use this if you have big messages. The option is a:java.lang.Stringtype. Group: common- Specified by:
charsetin interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
charsetin interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- Parameters:
charset- 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.Stringtype. Group: common- Specified by:
doneFileNamein interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
doneFileNamein interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- 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.Stringtype. Group: common- Specified by:
fileNamein interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
fileNamein interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- Parameters:
fileName- the value to set- Returns:
- the dsl builder
-
path
The path, within the share, to consume the files from. The option is a:java.lang.Stringtype. Group: common- Specified by:
pathin interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
pathin interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- Parameters:
path- the value to set- Returns:
- the dsl builder
-
searchPattern
The search pattern used to list the files. The option is a:java.lang.Stringtype. Default: *.txt Group: common- Specified by:
searchPatternin interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
searchPatternin interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- Parameters:
searchPattern- the value to set- Returns:
- the dsl builder
-
domain
The user domain. The option is a:java.lang.Stringtype. Group: security- Specified by:
domainin interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
domainin interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- Parameters:
domain- the value to set- Returns:
- the dsl builder
-
password
The password to access the share. The option is a:java.lang.Stringtype. Group: security- Specified by:
passwordin interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
passwordin interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- Parameters:
password- the value to set- Returns:
- the dsl builder
-
username
The username required to access the share. The option is a:java.lang.Stringtype. Group: security- Specified by:
usernamein interfaceSmb2EndpointBuilderFactory.Smb2EndpointConsumerBuilder- Specified by:
usernamein interfaceSmb2EndpointBuilderFactory.Smb2EndpointProducerBuilder- Parameters:
username- the value to set- Returns:
- the dsl builder
-