Interface FileWatchEndpointBuilderFactory.FileWatchBuilders

    • Method Detail

      • fileWatch

        default FileWatchEndpointBuilderFactory.FileWatchHeaderNameBuilder 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

        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 name
        path - path
        Returns:
        the dsl builder