public static interface FileWatchComponentBuilderFactory.FileWatchComponentBuilder extends ComponentBuilder<org.apache.camel.component.file.watch.FileWatchComponent>
| Modifier and Type | Method and Description |
|---|---|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
concurrentConsumers(int concurrentConsumers)
The number of concurrent consumers.
|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
fileHasher(io.methvin.watcher.hashing.FileHasher fileHasher)
Reference to io.methvin.watcher.hashing.FileHasher.
|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
pollThreads(int pollThreads)
The number of threads polling WatchService.
|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
queueSize(int queueSize)
Maximum size of queue between WatchService and consumer.
|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
useFileHashing(boolean useFileHashing)
Enables or disables file hashing to detect duplicate events.
|
build, build, doSetProperty, registerdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder concurrentConsumers(int concurrentConsumers)
int type.
Default: 1
Group: consumerdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder fileHasher(io.methvin.watcher.hashing.FileHasher fileHasher)
io.methvin.watcher.hashing.FileHasher
type.
Default: #murmur3FFileHasher
Group: consumerdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder pollThreads(int pollThreads)
int type.
Default: 1
Group: consumerdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder queueSize(int queueSize)
int type.
Default: 2147483647
Group: consumerdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder useFileHashing(boolean useFileHashing)
boolean type.
Default: true
Group: consumerdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advancedApache Camel