This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit ffb7963183ca484b1ffc2a67c66529747539eb50 Author: Zineb Bendhiba <bendhiba.zi...@gmail.com> AuthorDate: Thu Jun 18 21:56:09 2020 +0200 CAMEL-15193: update cluster name and doc --- components-starter/camel-file-starter/src/main/docs/file-starter.adoc | 2 +- .../springboot/cluster/FileLockClusterServiceAutoConfiguration.java | 2 +- .../file/springboot/cluster/FileLockClusterServiceConfiguration.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components-starter/camel-file-starter/src/main/docs/file-starter.adoc b/components-starter/camel-file-starter/src/main/docs/file-starter.adoc index a1042be..c680618 100644 --- a/components-starter/camel-file-starter/src/main/docs/file-starter.adoc +++ b/components-starter/camel-file-starter/src/main/docs/file-starter.adoc @@ -29,7 +29,7 @@ The component supports 11 options, which are listed below. | *camel.component.file.cluster.service.acquire-lock-delay* | The time to wait before starting to try to acquire lock. | | String | *camel.component.file.cluster.service.acquire-lock-interval* | The time to wait between attempts to try to acquire lock. | | String | *camel.component.file.cluster.service.attributes* | Custom service attributes. | | Map -| *camel.component.file.cluster.service.enabled* | Sets if the zookeeper cluster service should be enabled or not, default is false. | false | Boolean +| *camel.component.file.cluster.service.enabled* | Sets if the file cluster service should be enabled or not, default is false. | false | Boolean | *camel.component.file.cluster.service.id* | Cluster Service ID | | String | *camel.component.file.cluster.service.order* | Service lookup order/priority. | | Integer | *camel.component.file.cluster.service.root* | The root path. | | String diff --git a/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceAutoConfiguration.java b/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceAutoConfiguration.java index 63bd967..c7baf91 100644 --- a/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceAutoConfiguration.java +++ b/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceAutoConfiguration.java @@ -44,7 +44,7 @@ public class FileLockClusterServiceAutoConfiguration { @Bean(name = "file-lock-cluster-service") @Scope(ConfigurableBeanFactory.SCOPE_SINGLETON) - public CamelClusterService consulClusterService() throws Exception { + public CamelClusterService fileClusterService() throws Exception { FileLockClusterService service = new FileLockClusterService(); Optional.ofNullable(configuration.getId()) diff --git a/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceConfiguration.java b/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceConfiguration.java index 12f4752..7c11ea0 100644 --- a/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceConfiguration.java +++ b/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster/FileLockClusterServiceConfiguration.java @@ -23,7 +23,7 @@ import org.springframework.boot.context.properties.ConfigurationProperties; @ConfigurationProperties(prefix = "camel.component.file.cluster.service") public class FileLockClusterServiceConfiguration { /** - * Sets if the zookeeper cluster service should be enabled or not, default is false. + * Sets if the file cluster service should be enabled or not, default is false. */ private boolean enabled;