Interface FileWatchEndpointBuilderFactory.FileWatchBuilders
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- FileWatchEndpointBuilderFactory
public static interface FileWatchEndpointBuilderFactory.FileWatchBuilders
-
Method Summary
Modifier and TypeMethodDescriptionFile Watch (camel-file-watch) Get notified about file events in a directory using java.nio.file.WatchService.File Watch (camel-file-watch) Get notified about file events in a directory using java.nio.file.WatchService.File Watch (camel-file-watch) Get notified about file events in a directory using java.nio.file.WatchService.
-
Method Details
-
fileWatch
File Watch (camel-file-watch) Get notified about file events in a directory using java.nio.file.WatchService. Category: file Since: 3.0 Maven coordinates: org.apache.camel:camel-file-watch- Returns:
- the dsl builder for the headers' name.
-
fileWatch
File Watch (camel-file-watch) Get notified about file events in a directory using java.nio.file.WatchService. Category: file Since: 3.0 Maven coordinates: org.apache.camel:camel-file-watch Syntax:file-watch:path
Path parameter: path (required) Path of directory to consume events from.- Parameters:
path
- path- Returns:
- the dsl builder
-
fileWatch
default FileWatchEndpointBuilderFactory.FileWatchEndpointBuilder fileWatch(String componentName, String path) File Watch (camel-file-watch) Get notified about file events in a directory using java.nio.file.WatchService. Category: file Since: 3.0 Maven coordinates: org.apache.camel:camel-file-watch Syntax:file-watch:path
Path parameter: path (required) Path of directory to consume events from.- Parameters:
componentName
- to use a custom component name for the endpoint instead of the default namepath
- path- Returns:
- the dsl builder
-