public static interface FileWatchComponentBuilderFactory.FileWatchComponentBuilder extends ComponentBuilder<org.apache.camel.component.file.watch.FileWatchComponent>
| Modifier and Type | Method and Description |
|---|---|
default FileWatchComponentBuilderFactory.FileWatchComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
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)
bridgeErrorHandler - the value to setdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder concurrentConsumers(int concurrentConsumers)
concurrentConsumers - the value to setdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder fileHasher(io.methvin.watcher.hashing.FileHasher fileHasher)
fileHasher - the value to setdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder pollThreads(int pollThreads)
pollThreads - the value to setdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder queueSize(int queueSize)
queueSize - the value to setdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder useFileHashing(boolean useFileHashing)
useFileHashing - the value to setdefault FileWatchComponentBuilderFactory.FileWatchComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setApache Camel