This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 947df0f5427 CAMEL-17879: remove camel-etcd leftovers
947df0f5427 is described below
commit 947df0f5427a06b4d9570ac641c9be2966f85eab
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Fri Apr 8 11:43:54 2022 +0200
CAMEL-17879: remove camel-etcd leftovers
---
.../builder/endpoint/EndpointBuilderFactory.java | 3 -
.../camel/builder/endpoint/EndpointBuilders.java | 3 -
.../builder/endpoint/StaticEndpointBuilders.java | 135 --
.../dsl/EtcdKeysEndpointBuilderFactory.java | 328 -----
.../dsl/EtcdStatsEndpointBuilderFactory.java | 1422 --------------------
.../dsl/EtcdWatchEndpointBuilderFactory.java | 442 ------
6 files changed, 2333 deletions(-)
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index 3d3d46a260f..e9a12d12b84 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -101,9 +101,6 @@ public interface EndpointBuilderFactory
org.apache.camel.builder.endpoint.dsl.EKS2EndpointBuilderFactory.EKS2Builders,
org.apache.camel.builder.endpoint.dsl.EhcacheEndpointBuilderFactory.EhcacheBuilders,
org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.ElasticsearchBuilders,
-
org.apache.camel.builder.endpoint.dsl.EtcdKeysEndpointBuilderFactory.EtcdKeysBuilders,
-
org.apache.camel.builder.endpoint.dsl.EtcdStatsEndpointBuilderFactory.EtcdStatsBuilders,
-
org.apache.camel.builder.endpoint.dsl.EtcdWatchEndpointBuilderFactory.EtcdWatchBuilders,
org.apache.camel.builder.endpoint.dsl.EventEndpointBuilderFactory.EventBuilders,
org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory.EventHubsBuilders,
org.apache.camel.builder.endpoint.dsl.EventbridgeEndpointBuilderFactory.EventbridgeBuilders,
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
index bca245e82dc..b82aa0bee9d 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilders.java
@@ -98,9 +98,6 @@ public interface EndpointBuilders
org.apache.camel.builder.endpoint.dsl.EKS2EndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.EhcacheEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory,
-
org.apache.camel.builder.endpoint.dsl.EtcdKeysEndpointBuilderFactory,
-
org.apache.camel.builder.endpoint.dsl.EtcdStatsEndpointBuilderFactory,
-
org.apache.camel.builder.endpoint.dsl.EtcdWatchEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.EventEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.EventHubsEndpointBuilderFactory,
org.apache.camel.builder.endpoint.dsl.EventbridgeEndpointBuilderFactory,
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 2d5ba6397cd..db31f9437f3 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -4276,141 +4276,6 @@ public class StaticEndpointBuilders {
String path) {
return
org.apache.camel.builder.endpoint.dsl.ElasticsearchEndpointBuilderFactory.endpointBuilder(componentName,
path);
}
- /**
- * Etcd Keys (camel-etcd)
- * Get, set or delete keys in etcd key-value store.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-keys:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- public static
org.apache.camel.builder.endpoint.dsl.EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
etcdKeys(
- String path) {
- return
org.apache.camel.builder.endpoint.dsl.EtcdKeysEndpointBuilderFactory.endpointBuilder("etcd-keys",
path);
- }
- /**
- * Etcd Keys (camel-etcd)
- * Get, set or delete keys in etcd key-value store.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-keys:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- public static
org.apache.camel.builder.endpoint.dsl.EtcdKeysEndpointBuilderFactory.EtcdKeysEndpointBuilder
etcdKeys(
- String componentName,
- String path) {
- return
org.apache.camel.builder.endpoint.dsl.EtcdKeysEndpointBuilderFactory.endpointBuilder(componentName,
path);
- }
- /**
- * Etcd Stats (camel-etcd)
- * Access etcd cluster statistcs.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-stats:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- public static
org.apache.camel.builder.endpoint.dsl.EtcdStatsEndpointBuilderFactory.EtcdStatsEndpointBuilder
etcdStats(
- String path) {
- return
org.apache.camel.builder.endpoint.dsl.EtcdStatsEndpointBuilderFactory.endpointBuilder("etcd-stats",
path);
- }
- /**
- * Etcd Stats (camel-etcd)
- * Access etcd cluster statistcs.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-stats:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- public static
org.apache.camel.builder.endpoint.dsl.EtcdStatsEndpointBuilderFactory.EtcdStatsEndpointBuilder
etcdStats(
- String componentName,
- String path) {
- return
org.apache.camel.builder.endpoint.dsl.EtcdStatsEndpointBuilderFactory.endpointBuilder(componentName,
path);
- }
- /**
- * Etcd Watch (camel-etcd)
- * Watch specific etcd keys or directories for changes.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-watch:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- public static
org.apache.camel.builder.endpoint.dsl.EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
etcdWatch(
- String path) {
- return
org.apache.camel.builder.endpoint.dsl.EtcdWatchEndpointBuilderFactory.endpointBuilder("etcd-watch",
path);
- }
- /**
- * Etcd Watch (camel-etcd)
- * Watch specific etcd keys or directories for changes.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-watch:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- public static
org.apache.camel.builder.endpoint.dsl.EtcdWatchEndpointBuilderFactory.EtcdWatchEndpointBuilder
etcdWatch(
- String componentName,
- String path) {
- return
org.apache.camel.builder.endpoint.dsl.EtcdWatchEndpointBuilderFactory.endpointBuilder(componentName,
path);
- }
/**
* Exec (camel-exec)
* Execute commands on the underlying operating system.
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdKeysEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdKeysEndpointBuilderFactory.java
deleted file mode 100644
index c898c0cbc56..00000000000
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdKeysEndpointBuilderFactory.java
+++ /dev/null
@@ -1,328 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.endpoint.dsl;
-
-import java.util.*;
-import java.util.concurrent.*;
-import java.util.function.*;
-import java.util.stream.*;
-import javax.annotation.Generated;
-import org.apache.camel.builder.EndpointConsumerBuilder;
-import org.apache.camel.builder.EndpointProducerBuilder;
-import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
-
-/**
- * Get, set or delete keys in etcd key-value store.
- *
- * Generated by camel build tools - do NOT edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface EtcdKeysEndpointBuilderFactory {
-
-
- /**
- * Builder for endpoint for the Etcd Keys component.
- */
- public interface EtcdKeysEndpointBuilder extends EndpointProducerBuilder {
- /**
- * To apply an action recursively.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder recursive(boolean recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * To apply an action recursively.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: producer
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder recursive(String recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * The path to look for for service discovery.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: /services/
- * Group: producer
- *
- * @param servicePath the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder servicePath(String servicePath) {
- doSetProperty("servicePath", servicePath);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: producer
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder timeout(Long timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: producer
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder timeout(String timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the URIs the client connects.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: http://localhost:2379,http://localhost:4001
- * Group: common
- *
- * @param uris the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder uris(String uris) {
- doSetProperty("uris", uris);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes
to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring
this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that
when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing
time
- * of the processing.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder lazyStartProducer(
- boolean lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes
to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring
this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that
when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing
time
- * of the processing.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder lazyStartProducer(
- String lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * To set the lifespan of a key in milliseconds.
- *
- * The option is a: <code>java.lang.Integer</code> type.
- *
- * Group: producer
- *
- * @param timeToLive the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder timeToLive(Integer timeToLive) {
- doSetProperty("timeToLive", timeToLive);
- return this;
- }
- /**
- * To set the lifespan of a key in milliseconds.
- *
- * The option will be converted to a
- * <code>java.lang.Integer</code> type.
- *
- * Group: producer
- *
- * @param timeToLive the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder timeToLive(String timeToLive) {
- doSetProperty("timeToLive", timeToLive);
- return this;
- }
- /**
- * The password to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param password the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder password(String password) {
- doSetProperty("password", password);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option is a:
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder sslContextParameters(
- org.apache.camel.support.jsse.SSLContextParameters
sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option will be converted to a
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder sslContextParameters(
- String sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * The user name to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param userName the value to set
- * @return the dsl builder
- */
- default EtcdKeysEndpointBuilder userName(String userName) {
- doSetProperty("userName", userName);
- return this;
- }
- }
-
- public interface EtcdKeysBuilders {
- /**
- * Etcd Keys (camel-etcd)
- * Get, set or delete keys in etcd key-value store.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-keys:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- default EtcdKeysEndpointBuilder etcdKeys(String path) {
- return EtcdKeysEndpointBuilderFactory.endpointBuilder("etcd-keys",
path);
- }
- /**
- * Etcd Keys (camel-etcd)
- * Get, set or delete keys in etcd key-value store.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-keys:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- default EtcdKeysEndpointBuilder etcdKeys(
- String componentName,
- String path) {
- return
EtcdKeysEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- }
- @Deprecated
- static EtcdKeysEndpointBuilder endpointBuilder(
- String componentName,
- String path) {
- class EtcdKeysEndpointBuilderImpl extends AbstractEndpointBuilder
implements EtcdKeysEndpointBuilder {
- public EtcdKeysEndpointBuilderImpl(String path) {
- super(componentName, path);
- }
- }
- return new EtcdKeysEndpointBuilderImpl(path);
- }
-}
\ No newline at end of file
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdStatsEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdStatsEndpointBuilderFactory.java
deleted file mode 100644
index fb5b61326e7..00000000000
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdStatsEndpointBuilderFactory.java
+++ /dev/null
@@ -1,1422 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.endpoint.dsl;
-
-import java.util.*;
-import java.util.Map;
-import java.util.concurrent.*;
-import java.util.function.*;
-import java.util.stream.*;
-import javax.annotation.Generated;
-import org.apache.camel.builder.EndpointConsumerBuilder;
-import org.apache.camel.builder.EndpointProducerBuilder;
-import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
-
-/**
- * Access etcd cluster statistcs.
- *
- * Generated by camel build tools - do NOT edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface EtcdStatsEndpointBuilderFactory {
-
-
- /**
- * Builder for endpoint consumers for the Etcd Stats component.
- */
- public interface EtcdStatsEndpointConsumerBuilder
- extends
- EndpointConsumerBuilder {
- default AdvancedEtcdStatsEndpointConsumerBuilder advanced() {
- return (AdvancedEtcdStatsEndpointConsumerBuilder) this;
- }
- /**
- * To apply an action recursively.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: common
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder recursive(boolean recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * To apply an action recursively.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: common
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder recursive(String recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * The path to look for for service discovery.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: /services/
- * Group: common
- *
- * @param servicePath the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder servicePath(String
servicePath) {
- doSetProperty("servicePath", servicePath);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder timeout(Long timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder timeout(String timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the URIs the client connects.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: http://localhost:2379,http://localhost:4001
- * Group: common
- *
- * @param uris the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder uris(String uris) {
- doSetProperty("uris", uris);
- return this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder bridgeErrorHandler(
- boolean bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder bridgeErrorHandler(
- String bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * To send an empty message in case of timeout watching for a key.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param sendEmptyExchangeOnTimeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder sendEmptyExchangeOnTimeout(
- boolean sendEmptyExchangeOnTimeout) {
- doSetProperty("sendEmptyExchangeOnTimeout",
sendEmptyExchangeOnTimeout);
- return this;
- }
- /**
- * To send an empty message in case of timeout watching for a key.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param sendEmptyExchangeOnTimeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder sendEmptyExchangeOnTimeout(
- String sendEmptyExchangeOnTimeout) {
- doSetProperty("sendEmptyExchangeOnTimeout",
sendEmptyExchangeOnTimeout);
- return this;
- }
- /**
- * If the polling consumer did not poll any files, you can enable this
- * option to send an empty message (no body) instead.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param sendEmptyMessageWhenIdle the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder sendEmptyMessageWhenIdle(
- boolean sendEmptyMessageWhenIdle) {
- doSetProperty("sendEmptyMessageWhenIdle",
sendEmptyMessageWhenIdle);
- return this;
- }
- /**
- * If the polling consumer did not poll any files, you can enable this
- * option to send an empty message (no body) instead.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param sendEmptyMessageWhenIdle the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder sendEmptyMessageWhenIdle(
- String sendEmptyMessageWhenIdle) {
- doSetProperty("sendEmptyMessageWhenIdle",
sendEmptyMessageWhenIdle);
- return this;
- }
- /**
- * The number of subsequent error polls (failed due some error) that
- * should happen before the backoffMultipler should kick-in.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: scheduler
- *
- * @param backoffErrorThreshold the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder backoffErrorThreshold(
- int backoffErrorThreshold) {
- doSetProperty("backoffErrorThreshold", backoffErrorThreshold);
- return this;
- }
- /**
- * The number of subsequent error polls (failed due some error) that
- * should happen before the backoffMultipler should kick-in.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: scheduler
- *
- * @param backoffErrorThreshold the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder backoffErrorThreshold(
- String backoffErrorThreshold) {
- doSetProperty("backoffErrorThreshold", backoffErrorThreshold);
- return this;
- }
- /**
- * The number of subsequent idle polls that should happen before the
- * backoffMultipler should kick-in.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: scheduler
- *
- * @param backoffIdleThreshold the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder backoffIdleThreshold(
- int backoffIdleThreshold) {
- doSetProperty("backoffIdleThreshold", backoffIdleThreshold);
- return this;
- }
- /**
- * The number of subsequent idle polls that should happen before the
- * backoffMultipler should kick-in.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: scheduler
- *
- * @param backoffIdleThreshold the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder backoffIdleThreshold(
- String backoffIdleThreshold) {
- doSetProperty("backoffIdleThreshold", backoffIdleThreshold);
- return this;
- }
- /**
- * To let the scheduled polling consumer backoff if there has been a
- * number of subsequent idles/errors in a row. The multiplier is then
- * the number of polls that will be skipped before the next actual
- * attempt is happening again. When this option is in use then
- * backoffIdleThreshold and/or backoffErrorThreshold must also be
- * configured.
- *
- * The option is a: <code>int</code> type.
- *
- * Group: scheduler
- *
- * @param backoffMultiplier the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder backoffMultiplier(
- int backoffMultiplier) {
- doSetProperty("backoffMultiplier", backoffMultiplier);
- return this;
- }
- /**
- * To let the scheduled polling consumer backoff if there has been a
- * number of subsequent idles/errors in a row. The multiplier is then
- * the number of polls that will be skipped before the next actual
- * attempt is happening again. When this option is in use then
- * backoffIdleThreshold and/or backoffErrorThreshold must also be
- * configured.
- *
- * The option will be converted to a <code>int</code> type.
- *
- * Group: scheduler
- *
- * @param backoffMultiplier the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder backoffMultiplier(
- String backoffMultiplier) {
- doSetProperty("backoffMultiplier", backoffMultiplier);
- return this;
- }
- /**
- * Milliseconds before the next poll.
- *
- * The option is a: <code>long</code> type.
- *
- * Default: 500
- * Group: scheduler
- *
- * @param delay the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder delay(long delay) {
- doSetProperty("delay", delay);
- return this;
- }
- /**
- * Milliseconds before the next poll.
- *
- * The option will be converted to a <code>long</code>
type.
- *
- * Default: 500
- * Group: scheduler
- *
- * @param delay the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder delay(String delay) {
- doSetProperty("delay", delay);
- return this;
- }
- /**
- * If greedy is enabled, then the ScheduledPollConsumer will run
- * immediately again, if the previous run polled 1 or more messages.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: scheduler
- *
- * @param greedy the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder greedy(boolean greedy) {
- doSetProperty("greedy", greedy);
- return this;
- }
- /**
- * If greedy is enabled, then the ScheduledPollConsumer will run
- * immediately again, if the previous run polled 1 or more messages.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: scheduler
- *
- * @param greedy the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder greedy(String greedy) {
- doSetProperty("greedy", greedy);
- return this;
- }
- /**
- * Milliseconds before the first poll starts.
- *
- * The option is a: <code>long</code> type.
- *
- * Default: 1000
- * Group: scheduler
- *
- * @param initialDelay the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder initialDelay(long
initialDelay) {
- doSetProperty("initialDelay", initialDelay);
- return this;
- }
- /**
- * Milliseconds before the first poll starts.
- *
- * The option will be converted to a <code>long</code>
type.
- *
- * Default: 1000
- * Group: scheduler
- *
- * @param initialDelay the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder initialDelay(
- String initialDelay) {
- doSetProperty("initialDelay", initialDelay);
- return this;
- }
- /**
- * Specifies a maximum limit of number of fires. So if you set it to 1,
- * the scheduler will only fire once. If you set it to 5, it will only
- * fire five times. A value of zero or negative means fire forever.
- *
- * The option is a: <code>long</code> type.
- *
- * Default: 0
- * Group: scheduler
- *
- * @param repeatCount the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder repeatCount(long repeatCount)
{
- doSetProperty("repeatCount", repeatCount);
- return this;
- }
- /**
- * Specifies a maximum limit of number of fires. So if you set it to 1,
- * the scheduler will only fire once. If you set it to 5, it will only
- * fire five times. A value of zero or negative means fire forever.
- *
- * The option will be converted to a <code>long</code>
type.
- *
- * Default: 0
- * Group: scheduler
- *
- * @param repeatCount the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder repeatCount(String
repeatCount) {
- doSetProperty("repeatCount", repeatCount);
- return this;
- }
- /**
- * The consumer logs a start/complete log line when it polls. This
- * option allows you to configure the logging level for that.
- *
- * The option is a:
- * <code>org.apache.camel.LoggingLevel</code> type.
- *
- * Default: TRACE
- * Group: scheduler
- *
- * @param runLoggingLevel the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder runLoggingLevel(
- org.apache.camel.LoggingLevel runLoggingLevel) {
- doSetProperty("runLoggingLevel", runLoggingLevel);
- return this;
- }
- /**
- * The consumer logs a start/complete log line when it polls. This
- * option allows you to configure the logging level for that.
- *
- * The option will be converted to a
- * <code>org.apache.camel.LoggingLevel</code> type.
- *
- * Default: TRACE
- * Group: scheduler
- *
- * @param runLoggingLevel the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder runLoggingLevel(
- String runLoggingLevel) {
- doSetProperty("runLoggingLevel", runLoggingLevel);
- return this;
- }
- /**
- * Allows for configuring a custom/shared thread pool to use for the
- * consumer. By default each consumer has its own single threaded
thread
- * pool.
- *
- * The option is a:
- *
<code>java.util.concurrent.ScheduledExecutorService</code> type.
- *
- * Group: scheduler
- *
- * @param scheduledExecutorService the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder scheduledExecutorService(
- ScheduledExecutorService scheduledExecutorService) {
- doSetProperty("scheduledExecutorService",
scheduledExecutorService);
- return this;
- }
- /**
- * Allows for configuring a custom/shared thread pool to use for the
- * consumer. By default each consumer has its own single threaded
thread
- * pool.
- *
- * The option will be converted to a
- *
<code>java.util.concurrent.ScheduledExecutorService</code> type.
- *
- * Group: scheduler
- *
- * @param scheduledExecutorService the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder scheduledExecutorService(
- String scheduledExecutorService) {
- doSetProperty("scheduledExecutorService",
scheduledExecutorService);
- return this;
- }
- /**
- * To use a cron scheduler from either camel-spring or camel-quartz
- * component. Use value spring or quartz for built in scheduler.
- *
- * The option is a: <code>java.lang.Object</code> type.
- *
- * Default: none
- * Group: scheduler
- *
- * @param scheduler the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder scheduler(Object scheduler) {
- doSetProperty("scheduler", scheduler);
- return this;
- }
- /**
- * To use a cron scheduler from either camel-spring or camel-quartz
- * component. Use value spring or quartz for built in scheduler.
- *
- * The option will be converted to a
- * <code>java.lang.Object</code> type.
- *
- * Default: none
- * Group: scheduler
- *
- * @param scheduler the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder scheduler(String scheduler) {
- doSetProperty("scheduler", scheduler);
- return this;
- }
- /**
- * To configure additional properties when using a custom scheduler or
- * any of the Quartz, Spring based scheduler.
- *
- * The option is a: <code>java.util.Map&lt;java.lang.String,
- * java.lang.Object&gt;</code> type.
- * The option is multivalued, and you can use the
- * schedulerProperties(String, Object) method to add a value (call the
- * method multiple times to set more values).
- *
- * Group: scheduler
- *
- * @param key the option key
- * @param value the option value
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder schedulerProperties(
- String key,
- Object value) {
- doSetMultiValueProperty("schedulerProperties", "scheduler." + key,
value);
- return this;
- }
- /**
- * To configure additional properties when using a custom scheduler or
- * any of the Quartz, Spring based scheduler.
- *
- * The option is a: <code>java.util.Map&lt;java.lang.String,
- * java.lang.Object&gt;</code> type.
- * The option is multivalued, and you can use the
- * schedulerProperties(String, Object) method to add a value (call the
- * method multiple times to set more values).
- *
- * Group: scheduler
- *
- * @param values the values
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder schedulerProperties(Map
values) {
- doSetMultiValueProperties("schedulerProperties", "scheduler.",
values);
- return this;
- }
- /**
- * Whether the scheduler should be auto started.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: scheduler
- *
- * @param startScheduler the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder startScheduler(
- boolean startScheduler) {
- doSetProperty("startScheduler", startScheduler);
- return this;
- }
- /**
- * Whether the scheduler should be auto started.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: scheduler
- *
- * @param startScheduler the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder startScheduler(
- String startScheduler) {
- doSetProperty("startScheduler", startScheduler);
- return this;
- }
- /**
- * Time unit for initialDelay and delay options.
- *
- * The option is a:
- * <code>java.util.concurrent.TimeUnit</code> type.
- *
- * Default: MILLISECONDS
- * Group: scheduler
- *
- * @param timeUnit the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder timeUnit(TimeUnit timeUnit) {
- doSetProperty("timeUnit", timeUnit);
- return this;
- }
- /**
- * Time unit for initialDelay and delay options.
- *
- * The option will be converted to a
- * <code>java.util.concurrent.TimeUnit</code> type.
- *
- * Default: MILLISECONDS
- * Group: scheduler
- *
- * @param timeUnit the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder timeUnit(String timeUnit) {
- doSetProperty("timeUnit", timeUnit);
- return this;
- }
- /**
- * Controls if fixed delay or fixed rate is used. See
- * ScheduledExecutorService in JDK for details.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: true
- * Group: scheduler
- *
- * @param useFixedDelay the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder useFixedDelay(
- boolean useFixedDelay) {
- doSetProperty("useFixedDelay", useFixedDelay);
- return this;
- }
- /**
- * Controls if fixed delay or fixed rate is used. See
- * ScheduledExecutorService in JDK for details.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: true
- * Group: scheduler
- *
- * @param useFixedDelay the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder useFixedDelay(
- String useFixedDelay) {
- doSetProperty("useFixedDelay", useFixedDelay);
- return this;
- }
- /**
- * The password to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param password the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder password(String password) {
- doSetProperty("password", password);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option is a:
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder sslContextParameters(
- org.apache.camel.support.jsse.SSLContextParameters
sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option will be converted to a
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder sslContextParameters(
- String sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * The user name to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param userName the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointConsumerBuilder userName(String userName) {
- doSetProperty("userName", userName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint consumers for the Etcd Stats component.
- */
- public interface AdvancedEtcdStatsEndpointConsumerBuilder
- extends
- EndpointConsumerBuilder {
- default EtcdStatsEndpointConsumerBuilder basic() {
- return (EtcdStatsEndpointConsumerBuilder) this;
- }
- /**
- * To let the consumer use a custom ExceptionHandler. Notice if the
- * option bridgeErrorHandler is enabled then this option is not in use.
- * By default the consumer will deal with exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option is a:
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder exceptionHandler(
- org.apache.camel.spi.ExceptionHandler exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * To let the consumer use a custom ExceptionHandler. Notice if the
- * option bridgeErrorHandler is enabled then this option is not in use.
- * By default the consumer will deal with exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option will be converted to a
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder exceptionHandler(
- String exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option is a:
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder exchangePattern(
- org.apache.camel.ExchangePattern exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option will be converted to a
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder exchangePattern(
- String exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- /**
- * The index to watch from.
- *
- * The option is a: <code>long</code> type.
- *
- * Default: 0
- * Group: consumer (advanced)
- *
- * @param fromIndex the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder fromIndex(
- long fromIndex) {
- doSetProperty("fromIndex", fromIndex);
- return this;
- }
- /**
- * The index to watch from.
- *
- * The option will be converted to a <code>long</code>
type.
- *
- * Default: 0
- * Group: consumer (advanced)
- *
- * @param fromIndex the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder fromIndex(
- String fromIndex) {
- doSetProperty("fromIndex", fromIndex);
- return this;
- }
- /**
- * A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
- * you to provide your custom implementation to control error handling
- * usually occurred during the poll operation before an Exchange have
- * been created and being routed in Camel.
- *
- * The option is a:
- *
<code>org.apache.camel.spi.PollingConsumerPollStrategy</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param pollStrategy the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder pollStrategy(
- org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
{
- doSetProperty("pollStrategy", pollStrategy);
- return this;
- }
- /**
- * A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
- * you to provide your custom implementation to control error handling
- * usually occurred during the poll operation before an Exchange have
- * been created and being routed in Camel.
- *
- * The option will be converted to a
- *
<code>org.apache.camel.spi.PollingConsumerPollStrategy</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param pollStrategy the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdStatsEndpointConsumerBuilder pollStrategy(
- String pollStrategy) {
- doSetProperty("pollStrategy", pollStrategy);
- return this;
- }
- }
-
- /**
- * Builder for endpoint producers for the Etcd Stats component.
- */
- public interface EtcdStatsEndpointProducerBuilder
- extends
- EndpointProducerBuilder {
- default AdvancedEtcdStatsEndpointProducerBuilder advanced() {
- return (AdvancedEtcdStatsEndpointProducerBuilder) this;
- }
- /**
- * To apply an action recursively.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: common
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder recursive(boolean recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * To apply an action recursively.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: common
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder recursive(String recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * The path to look for for service discovery.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: /services/
- * Group: common
- *
- * @param servicePath the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder servicePath(String
servicePath) {
- doSetProperty("servicePath", servicePath);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder timeout(Long timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder timeout(String timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the URIs the client connects.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: http://localhost:2379,http://localhost:4001
- * Group: common
- *
- * @param uris the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder uris(String uris) {
- doSetProperty("uris", uris);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes
to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring
this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that
when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing
time
- * of the processing.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder lazyStartProducer(
- boolean lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * Whether the producer should be started lazy (on the first message).
- * By starting lazy you can use this to allow CamelContext and routes
to
- * startup in situations where a producer may otherwise fail during
- * starting and cause the route to fail being started. By deferring
this
- * startup to be lazy then the startup failure can be handled during
- * routing messages via Camel's routing error handlers. Beware that
when
- * the first message is processed then creating and starting the
- * producer may take a little time and prolong the total processing
time
- * of the processing.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: producer
- *
- * @param lazyStartProducer the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder lazyStartProducer(
- String lazyStartProducer) {
- doSetProperty("lazyStartProducer", lazyStartProducer);
- return this;
- }
- /**
- * To set the lifespan of a key in milliseconds.
- *
- * The option is a: <code>java.lang.Integer</code> type.
- *
- * Group: producer
- *
- * @param timeToLive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder timeToLive(Integer
timeToLive) {
- doSetProperty("timeToLive", timeToLive);
- return this;
- }
- /**
- * To set the lifespan of a key in milliseconds.
- *
- * The option will be converted to a
- * <code>java.lang.Integer</code> type.
- *
- * Group: producer
- *
- * @param timeToLive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder timeToLive(String timeToLive)
{
- doSetProperty("timeToLive", timeToLive);
- return this;
- }
- /**
- * The password to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param password the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder password(String password) {
- doSetProperty("password", password);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option is a:
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder sslContextParameters(
- org.apache.camel.support.jsse.SSLContextParameters
sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option will be converted to a
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder sslContextParameters(
- String sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * The user name to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param userName the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointProducerBuilder userName(String userName) {
- doSetProperty("userName", userName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint producers for the Etcd Stats component.
- */
- public interface AdvancedEtcdStatsEndpointProducerBuilder
- extends
- EndpointProducerBuilder {
- default EtcdStatsEndpointProducerBuilder basic() {
- return (EtcdStatsEndpointProducerBuilder) this;
- }
- }
-
- /**
- * Builder for endpoint for the Etcd Stats component.
- */
- public interface EtcdStatsEndpointBuilder
- extends
- EtcdStatsEndpointConsumerBuilder,
- EtcdStatsEndpointProducerBuilder {
- default AdvancedEtcdStatsEndpointBuilder advanced() {
- return (AdvancedEtcdStatsEndpointBuilder) this;
- }
- /**
- * To apply an action recursively.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: common
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder recursive(boolean recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * To apply an action recursively.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: common
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder recursive(String recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * The path to look for for service discovery.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: /services/
- * Group: common
- *
- * @param servicePath the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder servicePath(String servicePath) {
- doSetProperty("servicePath", servicePath);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder timeout(Long timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: common
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder timeout(String timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the URIs the client connects.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: http://localhost:2379,http://localhost:4001
- * Group: common
- *
- * @param uris the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder uris(String uris) {
- doSetProperty("uris", uris);
- return this;
- }
- /**
- * The password to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param password the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder password(String password) {
- doSetProperty("password", password);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option is a:
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder sslContextParameters(
- org.apache.camel.support.jsse.SSLContextParameters
sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option will be converted to a
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder sslContextParameters(
- String sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * The user name to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param userName the value to set
- * @return the dsl builder
- */
- default EtcdStatsEndpointBuilder userName(String userName) {
- doSetProperty("userName", userName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint for the Etcd Stats component.
- */
- public interface AdvancedEtcdStatsEndpointBuilder
- extends
- AdvancedEtcdStatsEndpointConsumerBuilder,
- AdvancedEtcdStatsEndpointProducerBuilder {
- default EtcdStatsEndpointBuilder basic() {
- return (EtcdStatsEndpointBuilder) this;
- }
- }
-
- public interface EtcdStatsBuilders {
- /**
- * Etcd Stats (camel-etcd)
- * Access etcd cluster statistcs.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-stats:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- default EtcdStatsEndpointBuilder etcdStats(String path) {
- return
EtcdStatsEndpointBuilderFactory.endpointBuilder("etcd-stats", path);
- }
- /**
- * Etcd Stats (camel-etcd)
- * Access etcd cluster statistcs.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-stats:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- default EtcdStatsEndpointBuilder etcdStats(
- String componentName,
- String path) {
- return
EtcdStatsEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- }
- @Deprecated
- static EtcdStatsEndpointBuilder endpointBuilder(
- String componentName,
- String path) {
- class EtcdStatsEndpointBuilderImpl extends AbstractEndpointBuilder
implements EtcdStatsEndpointBuilder, AdvancedEtcdStatsEndpointBuilder {
- public EtcdStatsEndpointBuilderImpl(String path) {
- super(componentName, path);
- }
- }
- return new EtcdStatsEndpointBuilderImpl(path);
- }
-}
\ No newline at end of file
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdWatchEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdWatchEndpointBuilderFactory.java
deleted file mode 100644
index 4de069edc80..00000000000
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EtcdWatchEndpointBuilderFactory.java
+++ /dev/null
@@ -1,442 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.endpoint.dsl;
-
-import java.util.*;
-import java.util.concurrent.*;
-import java.util.function.*;
-import java.util.stream.*;
-import javax.annotation.Generated;
-import org.apache.camel.builder.EndpointConsumerBuilder;
-import org.apache.camel.builder.EndpointProducerBuilder;
-import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
-
-/**
- * Watch specific etcd keys or directories for changes.
- *
- * Generated by camel build tools - do NOT edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface EtcdWatchEndpointBuilderFactory {
-
-
- /**
- * Builder for endpoint for the Etcd Watch component.
- */
- public interface EtcdWatchEndpointBuilder extends EndpointConsumerBuilder {
- default AdvancedEtcdWatchEndpointBuilder advanced() {
- return (AdvancedEtcdWatchEndpointBuilder) this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder bridgeErrorHandler(
- boolean bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * Allows for bridging the consumer to the Camel routing Error Handler,
- * which mean any exceptions occurred while the consumer is trying to
- * pickup incoming messages, or the likes, will now be processed as a
- * message and handled by the routing Error Handler. By default the
- * consumer will use the org.apache.camel.spi.ExceptionHandler to deal
- * with exceptions, that will be logged at WARN or ERROR level and
- * ignored.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param bridgeErrorHandler the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder bridgeErrorHandler(
- String bridgeErrorHandler) {
- doSetProperty("bridgeErrorHandler", bridgeErrorHandler);
- return this;
- }
- /**
- * To apply an action recursively.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder recursive(boolean recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * To apply an action recursively.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param recursive the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder recursive(String recursive) {
- doSetProperty("recursive", recursive);
- return this;
- }
- /**
- * The path to look for for service discovery.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: /services/
- * Group: consumer
- *
- * @param servicePath the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder servicePath(String servicePath) {
- doSetProperty("servicePath", servicePath);
- return this;
- }
- /**
- * To set the URIs the client connects.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Default: http://localhost:2379,http://localhost:4001
- * Group: common
- *
- * @param uris the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder uris(String uris) {
- doSetProperty("uris", uris);
- return this;
- }
- /**
- * To send an empty message in case of timeout watching for a key.
- *
- * The option is a: <code>boolean</code> type.
- *
- * Default: false
- * Group: consumer
- *
- * @param sendEmptyExchangeOnTimeout the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder sendEmptyExchangeOnTimeout(
- boolean sendEmptyExchangeOnTimeout) {
- doSetProperty("sendEmptyExchangeOnTimeout",
sendEmptyExchangeOnTimeout);
- return this;
- }
- /**
- * To send an empty message in case of timeout watching for a key.
- *
- * The option will be converted to a <code>boolean</code>
- * type.
- *
- * Default: false
- * Group: consumer
- *
- * @param sendEmptyExchangeOnTimeout the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder sendEmptyExchangeOnTimeout(
- String sendEmptyExchangeOnTimeout) {
- doSetProperty("sendEmptyExchangeOnTimeout",
sendEmptyExchangeOnTimeout);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option is a: <code>java.lang.Long</code> type.
- *
- * Group: consumer
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder timeout(Long timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * To set the maximum time an action could take to complete.
- *
- * The option will be converted to a
- * <code>java.lang.Long</code> type.
- *
- * Group: consumer
- *
- * @param timeout the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder timeout(String timeout) {
- doSetProperty("timeout", timeout);
- return this;
- }
- /**
- * The password to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param password the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder password(String password) {
- doSetProperty("password", password);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option is a:
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder sslContextParameters(
- org.apache.camel.support.jsse.SSLContextParameters
sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * To configure security using SSLContextParameters.
- *
- * The option will be converted to a
- *
<code>org.apache.camel.support.jsse.SSLContextParameters</code>
type.
- *
- * Group: security
- *
- * @param sslContextParameters the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder sslContextParameters(
- String sslContextParameters) {
- doSetProperty("sslContextParameters", sslContextParameters);
- return this;
- }
- /**
- * The user name to use for basic authentication.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: security
- *
- * @param userName the value to set
- * @return the dsl builder
- */
- default EtcdWatchEndpointBuilder userName(String userName) {
- doSetProperty("userName", userName);
- return this;
- }
- }
-
- /**
- * Advanced builder for endpoint for the Etcd Watch component.
- */
- public interface AdvancedEtcdWatchEndpointBuilder
- extends
- EndpointConsumerBuilder {
- default EtcdWatchEndpointBuilder basic() {
- return (EtcdWatchEndpointBuilder) this;
- }
- /**
- * To let the consumer use a custom ExceptionHandler. Notice if the
- * option bridgeErrorHandler is enabled then this option is not in use.
- * By default the consumer will deal with exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option is a:
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdWatchEndpointBuilder exceptionHandler(
- org.apache.camel.spi.ExceptionHandler exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * To let the consumer use a custom ExceptionHandler. Notice if the
- * option bridgeErrorHandler is enabled then this option is not in use.
- * By default the consumer will deal with exceptions, that will be
- * logged at WARN or ERROR level and ignored.
- *
- * The option will be converted to a
- * <code>org.apache.camel.spi.ExceptionHandler</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exceptionHandler the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdWatchEndpointBuilder exceptionHandler(
- String exceptionHandler) {
- doSetProperty("exceptionHandler", exceptionHandler);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option is a:
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdWatchEndpointBuilder exchangePattern(
- org.apache.camel.ExchangePattern exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- /**
- * Sets the exchange pattern when the consumer creates an exchange.
- *
- * The option will be converted to a
- * <code>org.apache.camel.ExchangePattern</code> type.
- *
- * Group: consumer (advanced)
- *
- * @param exchangePattern the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdWatchEndpointBuilder exchangePattern(
- String exchangePattern) {
- doSetProperty("exchangePattern", exchangePattern);
- return this;
- }
- /**
- * The index to watch from.
- *
- * The option is a: <code>long</code> type.
- *
- * Default: 0
- * Group: consumer (advanced)
- *
- * @param fromIndex the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdWatchEndpointBuilder fromIndex(long fromIndex) {
- doSetProperty("fromIndex", fromIndex);
- return this;
- }
- /**
- * The index to watch from.
- *
- * The option will be converted to a <code>long</code>
type.
- *
- * Default: 0
- * Group: consumer (advanced)
- *
- * @param fromIndex the value to set
- * @return the dsl builder
- */
- default AdvancedEtcdWatchEndpointBuilder fromIndex(String fromIndex) {
- doSetProperty("fromIndex", fromIndex);
- return this;
- }
- }
-
- public interface EtcdWatchBuilders {
- /**
- * Etcd Watch (camel-etcd)
- * Watch specific etcd keys or directories for changes.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-watch:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- default EtcdWatchEndpointBuilder etcdWatch(String path) {
- return
EtcdWatchEndpointBuilderFactory.endpointBuilder("etcd-watch", path);
- }
- /**
- * Etcd Watch (camel-etcd)
- * Watch specific etcd keys or directories for changes.
- *
- * Category: clustering,database
- * Since: 2.18
- * Maven coordinates: org.apache.camel:camel-etcd
- *
- * Syntax: <code>etcd-watch:path</code>
- *
- * Path parameter: path
- * The path the endpoint refers to
- *
- * @param componentName to use a custom component name for the endpoint
- * instead of the default name
- * @param path path
- * @return the dsl builder
- */
- @Deprecated
- default EtcdWatchEndpointBuilder etcdWatch(
- String componentName,
- String path) {
- return
EtcdWatchEndpointBuilderFactory.endpointBuilder(componentName, path);
- }
- }
- @Deprecated
- static EtcdWatchEndpointBuilder endpointBuilder(
- String componentName,
- String path) {
- class EtcdWatchEndpointBuilderImpl extends AbstractEndpointBuilder
implements EtcdWatchEndpointBuilder, AdvancedEtcdWatchEndpointBuilder {
- public EtcdWatchEndpointBuilderImpl(String path) {
- super(componentName, path);
- }
- }
- return new EtcdWatchEndpointBuilderImpl(path);
- }
-}
\ No newline at end of file