Interface FileWatchEndpointBuilderFactory.FileWatchBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- FileWatchEndpointBuilderFactory
public static interface FileWatchEndpointBuilderFactory.FileWatchBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default FileWatchEndpointBuilderFactory.FileWatchEndpointBuilder
fileWatch(String path)
File Watch (camel-file-watch) Get notified about file events in a directory using java.nio.file.WatchService.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.
-
-
-
Method Detail
-
fileWatch
default FileWatchEndpointBuilderFactory.FileWatchEndpointBuilder fileWatch(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:
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
-
-