This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit aa3e44b9a6cb90afef6752f2fd6502f28d0a99ab Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri Jan 24 17:17:56 2020 +0100 Polished --- .../camel-file-watch/src/main/docs/file-watch-component.adoc | 9 +++++---- .../org/apache/camel/component/file/watch/FileWatchEndpoint.java | 2 +- .../builder/endpoint/dsl/FileWatchEndpointBuilderFactory.java | 8 ++++---- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/components/camel-file-watch/src/main/docs/file-watch-component.adoc b/components/camel-file-watch/src/main/docs/file-watch-component.adoc index 60ee9c9..b452a6e 100644 --- a/components/camel-file-watch/src/main/docs/file-watch-component.adoc +++ b/components/camel-file-watch/src/main/docs/file-watch-component.adoc @@ -1,7 +1,8 @@ -[[file-watch-component]] -= file-watch Component += File Watch Component *Since Camel 3.0* +*Since Camel 3.0* + // HEADER START *Only consumer is supported* @@ -12,7 +13,7 @@ This component can be used to watch file modification events in folder. It is ba == URI Options // component options: START -The file-watch component supports 7 options, which are listed below. +The File Watch component supports 7 options, which are listed below. @@ -31,7 +32,7 @@ The file-watch component supports 7 options, which are listed below. // endpoint options: START -The file-watch endpoint is configured using URI syntax: +The File Watch endpoint is configured using URI syntax: ---- file-watch:path diff --git a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchEndpoint.java b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchEndpoint.java index 18c8858..4df2153 100644 --- a/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchEndpoint.java +++ b/components/camel-file-watch/src/main/java/org/apache/camel/component/file/watch/FileWatchEndpoint.java @@ -35,7 +35,7 @@ import org.apache.camel.support.DefaultEndpoint; /** * The file-watch is used to monitor file events in directory using {@link java.nio.file.WatchService} */ -@UriEndpoint(firstVersion = "3.0.0", scheme = "file-watch", title = "file-watch", syntax = "file-watch:path", +@UriEndpoint(firstVersion = "3.0.0", scheme = "file-watch", title = "File Watch", syntax = "file-watch:path", label = "file", consumerOnly = true) public class FileWatchEndpoint extends DefaultEndpoint implements MultipleConsumersSupport { @UriPath(label = "consumer", description = "Path of directory to consume events from.") diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/FileWatchEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/FileWatchEndpointBuilderFactory.java index 1ba384b..a3ca525 100644 --- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/FileWatchEndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/FileWatchEndpointBuilderFactory.java @@ -35,7 +35,7 @@ public interface FileWatchEndpointBuilderFactory { /** - * Builder for endpoint for the file-watch component. + * Builder for endpoint for the File Watch component. */ public interface FileWatchEndpointBuilder extends EndpointConsumerBuilder { default AdvancedFileWatchEndpointBuilder advanced() { @@ -316,7 +316,7 @@ public interface FileWatchEndpointBuilderFactory { } /** - * Advanced builder for endpoint for the file-watch component. + * Advanced builder for endpoint for the File Watch component. */ public interface AdvancedFileWatchEndpointBuilder extends @@ -449,7 +449,7 @@ public interface FileWatchEndpointBuilderFactory { public interface FileWatchBuilders { /** - * file-watch (camel-file-watch) + * File Watch (camel-file-watch) * The file-watch is used to monitor file events in directory using * java.nio.file.WatchService * @@ -467,7 +467,7 @@ public interface FileWatchEndpointBuilderFactory { } } /** - * file-watch (camel-file-watch) + * File Watch (camel-file-watch) * The file-watch is used to monitor file events in directory using * java.nio.file.WatchService *