This is an automated email from the ASF dual-hosted git repository.

davsclaus 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 7d020c9b1d8 camel-consult: Fixed some options that was labelled wrong
7d020c9b1d8 is described below

commit 7d020c9b1d89a80a2deed31a279060a33c64ec7e
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Sep 25 07:44:16 2025 +0200

    camel-consult: Fixed some options that was labelled wrong
---
 .../apache/camel/catalog/components/consul.json    |  26 ++---
 .../org/apache/camel/component/consul/consul.json  |  26 ++---
 .../component/consul/ConsulConfiguration.java      |   7 +-
 .../dsl/ConsulComponentBuilderFactory.java         |  38 +++---
 .../endpoint/dsl/ConsulEndpointBuilderFactory.java | 128 +++++++++++++++------
 5 files changed, 145 insertions(+), 80 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/consul.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/consul.json
index e83d3a4ee6c..52946793b05 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/consul.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/consul.json
@@ -25,17 +25,17 @@
   },
   "componentProperties": {
     "connectTimeout": { "index": 0, "kind": "property", "displayName": 
"Connect Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Connect timeout for OkHttpClient" },
-    "consulClient": { "index": 1, "kind": "property", "displayName": "Consul 
Client", "group": "common", "label": "common", "required": false, "type": 
"object", "javaType": "org.kiwiproject.consul.Consul", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
+    "consulClient": { "index": 1, "kind": "property", "displayName": "Consul 
Client", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "org.kiwiproject.consul.Consul", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
     "key": { "index": 2, "kind": "property", "displayName": "Key", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The default key. Can be 
overridden by CamelConsulKey" },
     "pingInstance": { "index": 3, "kind": "property", "displayName": "Ping 
Instance", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Configure if the AgentClient should attempt a 
ping before returning the Consul instance" },
     "readTimeout": { "index": 4, "kind": "property", "displayName": "Read 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Read timeout for OkHttpClient" },
     "tags": { "index": 5, "kind": "property", "displayName": "Tags", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Set tags. You can 
separate multiple tags by comma." },
     "url": { "index": 6, "kind": "property", "displayName": "Url", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The Consul agent URL" },
-    "writeTimeout": { "index": 7, "kind": "property", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
-    "bridgeErrorHandler": { "index": 8, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
-    "action": { "index": 9, "kind": "property", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelConsulAction" },
-    "lazyStartProducer": { "index": 10, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"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 fai [...]
-    "valueAsString": { "index": 11, "kind": "property", "displayName": "Value 
As String", "group": "producer", "label": "producer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "valueAsString": { "index": 7, "kind": "property", "displayName": "Value 
As String", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "writeTimeout": { "index": 8, "kind": "property", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
+    "bridgeErrorHandler": { "index": 9, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
+    "action": { "index": 10, "kind": "property", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "enum", 
"javaType": "java.lang.String", "enum": [ "CHECKS", "SERVICES", "AGENT", 
"REGISTER", "DEREGISTER" ], "deprecated": false, "autowired": false, "secret": 
false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelCo [...]
+    "lazyStartProducer": { "index": 11, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"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 fai [...]
     "autowiredEnabled": { "index": 12, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching  [...]
     "configuration": { "index": 13, "kind": "property", "displayName": 
"Configuration", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.consul.ConsulConfiguration", "deprecated": false, 
"autowired": false, "secret": false, "description": "Consul configuration" },
     "consistencyMode": { "index": 14, "kind": "property", "displayName": 
"Consistency Mode", "group": "advanced", "label": "advanced", "required": 
false, "type": "enum", "javaType": 
"org.kiwiproject.consul.option.ConsistencyMode", "enum": [ "DEFAULT", "STALE", 
"CONSISTENT" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "DEFAULT", "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description [...]
@@ -87,18 +87,18 @@
   "properties": {
     "apiEndpoint": { "index": 0, "kind": "path", "displayName": "Api 
Endpoint", "group": "common", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The API endpoint" },
     "connectTimeout": { "index": 1, "kind": "parameter", "displayName": 
"Connect Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Connect timeout for OkHttpClient" },
-    "consulClient": { "index": 2, "kind": "parameter", "displayName": "Consul 
Client", "group": "common", "label": "common", "required": false, "type": 
"object", "javaType": "org.kiwiproject.consul.Consul", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
+    "consulClient": { "index": 2, "kind": "parameter", "displayName": "Consul 
Client", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "org.kiwiproject.consul.Consul", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
     "key": { "index": 3, "kind": "parameter", "displayName": "Key", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The default key. Can be 
overridden by CamelConsulKey" },
     "pingInstance": { "index": 4, "kind": "parameter", "displayName": "Ping 
Instance", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Configure if the AgentClient should attempt a 
ping before returning the Consul instance" },
     "readTimeout": { "index": 5, "kind": "parameter", "displayName": "Read 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Read timeout for OkHttpClient" },
     "tags": { "index": 6, "kind": "parameter", "displayName": "Tags", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Set tags. You can 
separate multiple tags by comma." },
     "url": { "index": 7, "kind": "parameter", "displayName": "Url", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The Consul agent URL" },
-    "writeTimeout": { "index": 8, "kind": "parameter", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
-    "bridgeErrorHandler": { "index": 9, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming  [...]
-    "exceptionHandler": { "index": 10, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By de [...]
-    "exchangePattern": { "index": 11, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
-    "action": { "index": 12, "kind": "parameter", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelConsulAction" },
-    "valueAsString": { "index": 13, "kind": "parameter", "displayName": "Value 
As String", "group": "producer", "label": "producer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "valueAsString": { "index": 8, "kind": "parameter", "displayName": "Value 
As String", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "writeTimeout": { "index": 9, "kind": "parameter", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
+    "bridgeErrorHandler": { "index": 10, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming [...]
+    "exceptionHandler": { "index": 11, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By de [...]
+    "exchangePattern": { "index": 12, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
+    "action": { "index": 13, "kind": "parameter", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "enum", 
"javaType": "java.lang.String", "enum": [ "CHECKS", "SERVICES", "AGENT", 
"REGISTER", "DEREGISTER" ], "deprecated": false, "autowired": false, "secret": 
false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelC [...]
     "lazyStartProducer": { "index": 14, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "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 produ [...]
     "consistencyMode": { "index": 15, "kind": "parameter", "displayName": 
"Consistency Mode", "group": "advanced", "label": "advanced", "required": 
false, "type": "enum", "javaType": 
"org.kiwiproject.consul.option.ConsistencyMode", "enum": [ "DEFAULT", "STALE", 
"CONSISTENT" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "DEFAULT", "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "descriptio [...]
     "datacenter": { "index": 16, "kind": "parameter", "displayName": 
"Datacenter", "group": "advanced", "label": "advanced", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The data center" },
diff --git 
a/components/camel-consul/src/generated/resources/META-INF/org/apache/camel/component/consul/consul.json
 
b/components/camel-consul/src/generated/resources/META-INF/org/apache/camel/component/consul/consul.json
index e83d3a4ee6c..52946793b05 100644
--- 
a/components/camel-consul/src/generated/resources/META-INF/org/apache/camel/component/consul/consul.json
+++ 
b/components/camel-consul/src/generated/resources/META-INF/org/apache/camel/component/consul/consul.json
@@ -25,17 +25,17 @@
   },
   "componentProperties": {
     "connectTimeout": { "index": 0, "kind": "property", "displayName": 
"Connect Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Connect timeout for OkHttpClient" },
-    "consulClient": { "index": 1, "kind": "property", "displayName": "Consul 
Client", "group": "common", "label": "common", "required": false, "type": 
"object", "javaType": "org.kiwiproject.consul.Consul", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
+    "consulClient": { "index": 1, "kind": "property", "displayName": "Consul 
Client", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "org.kiwiproject.consul.Consul", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
     "key": { "index": 2, "kind": "property", "displayName": "Key", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The default key. Can be 
overridden by CamelConsulKey" },
     "pingInstance": { "index": 3, "kind": "property", "displayName": "Ping 
Instance", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Configure if the AgentClient should attempt a 
ping before returning the Consul instance" },
     "readTimeout": { "index": 4, "kind": "property", "displayName": "Read 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Read timeout for OkHttpClient" },
     "tags": { "index": 5, "kind": "property", "displayName": "Tags", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Set tags. You can 
separate multiple tags by comma." },
     "url": { "index": 6, "kind": "property", "displayName": "Url", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The Consul agent URL" },
-    "writeTimeout": { "index": 7, "kind": "property", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
-    "bridgeErrorHandler": { "index": 8, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
-    "action": { "index": 9, "kind": "property", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelConsulAction" },
-    "lazyStartProducer": { "index": 10, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"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 fai [...]
-    "valueAsString": { "index": 11, "kind": "property", "displayName": "Value 
As String", "group": "producer", "label": "producer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "valueAsString": { "index": 7, "kind": "property", "displayName": "Value 
As String", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "writeTimeout": { "index": 8, "kind": "property", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
+    "bridgeErrorHandler": { "index": 9, "kind": "property", "displayName": 
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"Allows for bridging the consumer to the Camel routing Error Handler, which 
mean any exceptions (if possible) occurred while the Camel consumer is trying 
to pickup incoming messages, or the like [...]
+    "action": { "index": 10, "kind": "property", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "enum", 
"javaType": "java.lang.String", "enum": [ "CHECKS", "SERVICES", "AGENT", 
"REGISTER", "DEREGISTER" ], "deprecated": false, "autowired": false, "secret": 
false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelCo [...]
+    "lazyStartProducer": { "index": 11, "kind": "property", "displayName": 
"Lazy Start Producer", "group": "producer", "label": "producer", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": false, "description": 
"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 fai [...]
     "autowiredEnabled": { "index": 12, "kind": "property", "displayName": 
"Autowired Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": true, "description": 
"Whether autowiring is enabled. This is used for automatic autowiring options 
(the option must be marked as autowired) by looking up in the registry to find 
if there is a single instance of matching  [...]
     "configuration": { "index": 13, "kind": "property", "displayName": 
"Configuration", "group": "advanced", "label": "advanced", "required": false, 
"type": "object", "javaType": 
"org.apache.camel.component.consul.ConsulConfiguration", "deprecated": false, 
"autowired": false, "secret": false, "description": "Consul configuration" },
     "consistencyMode": { "index": 14, "kind": "property", "displayName": 
"Consistency Mode", "group": "advanced", "label": "advanced", "required": 
false, "type": "enum", "javaType": 
"org.kiwiproject.consul.option.ConsistencyMode", "enum": [ "DEFAULT", "STALE", 
"CONSISTENT" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "DEFAULT", "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description [...]
@@ -87,18 +87,18 @@
   "properties": {
     "apiEndpoint": { "index": 0, "kind": "path", "displayName": "Api 
Endpoint", "group": "common", "label": "", "required": true, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The API endpoint" },
     "connectTimeout": { "index": 1, "kind": "parameter", "displayName": 
"Connect Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Connect timeout for OkHttpClient" },
-    "consulClient": { "index": 2, "kind": "parameter", "displayName": "Consul 
Client", "group": "common", "label": "common", "required": false, "type": 
"object", "javaType": "org.kiwiproject.consul.Consul", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
+    "consulClient": { "index": 2, "kind": "parameter", "displayName": "Consul 
Client", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "org.kiwiproject.consul.Consul", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Reference to a org.kiwiproject.consul.Consul 
in the registry." },
     "key": { "index": 3, "kind": "parameter", "displayName": "Key", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The default key. Can be 
overridden by CamelConsulKey" },
     "pingInstance": { "index": 4, "kind": "parameter", "displayName": "Ping 
Instance", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Configure if the AgentClient should attempt a 
ping before returning the Consul instance" },
     "readTimeout": { "index": 5, "kind": "parameter", "displayName": "Read 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Read timeout for OkHttpClient" },
     "tags": { "index": 6, "kind": "parameter", "displayName": "Tags", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "Set tags. You can 
separate multiple tags by comma." },
     "url": { "index": 7, "kind": "parameter", "displayName": "Url", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.consul.ConsulConfiguration", 
"configurationField": "configuration", "description": "The Consul agent URL" },
-    "writeTimeout": { "index": 8, "kind": "parameter", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
-    "bridgeErrorHandler": { "index": 9, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming  [...]
-    "exceptionHandler": { "index": 10, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By de [...]
-    "exchangePattern": { "index": 11, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
-    "action": { "index": 12, "kind": "parameter", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelConsulAction" },
-    "valueAsString": { "index": 13, "kind": "parameter", "displayName": "Value 
As String", "group": "producer", "label": "producer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "valueAsString": { "index": 8, "kind": "parameter", "displayName": "Value 
As String", "group": "common", "label": "", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Default to transform values retrieved from 
Consul i.e. on KV endpoint to string." },
+    "writeTimeout": { "index": 9, "kind": "parameter", "displayName": "Write 
Timeout", "group": "common", "label": "", "required": false, "type": 
"duration", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "Write timeout for OkHttpClient" },
+    "bridgeErrorHandler": { "index": 10, "kind": "parameter", "displayName": 
"Bridge Error Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions (if possible) occurred 
while the Camel consumer is trying to pickup incoming [...]
+    "exceptionHandler": { "index": 11, "kind": "parameter", "displayName": 
"Exception Handler", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "autowired": false, "secret": false, "description": "To 
let the consumer use a custom ExceptionHandler. Notice if the option 
bridgeErrorHandler is enabled then this option is not in use. By de [...]
+    "exchangePattern": { "index": 12, "kind": "parameter", "displayName": 
"Exchange Pattern", "group": "consumer (advanced)", "label": 
"consumer,advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut" ], 
"deprecated": false, "autowired": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
+    "action": { "index": 13, "kind": "parameter", "displayName": "Action", 
"group": "producer", "label": "producer", "required": false, "type": "enum", 
"javaType": "java.lang.String", "enum": [ "CHECKS", "SERVICES", "AGENT", 
"REGISTER", "DEREGISTER" ], "deprecated": false, "autowired": false, "secret": 
false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The default action. Can be overridden by 
CamelC [...]
     "lazyStartProducer": { "index": 14, "kind": "parameter", "displayName": 
"Lazy Start Producer", "group": "producer (advanced)", "label": 
"producer,advanced", "required": false, "type": "boolean", "javaType": 
"boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "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 produ [...]
     "consistencyMode": { "index": 15, "kind": "parameter", "displayName": 
"Consistency Mode", "group": "advanced", "label": "advanced", "required": 
false, "type": "enum", "javaType": 
"org.kiwiproject.consul.option.ConsistencyMode", "enum": [ "DEFAULT", "STALE", 
"CONSISTENT" ], "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": "DEFAULT", "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "descriptio [...]
     "datacenter": { "index": 16, "kind": "parameter", "displayName": 
"Datacenter", "group": "advanced", "label": "advanced", "required": false, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.consul.ConsulConfiguration", "configurationField": 
"configuration", "description": "The data center" },
diff --git 
a/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulConfiguration.java
 
b/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulConfiguration.java
index 117960efc8f..98141c75318 100644
--- 
a/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulConfiguration.java
+++ 
b/components/camel-consul/src/main/java/org/apache/camel/component/consul/ConsulConfiguration.java
@@ -23,13 +23,14 @@ import org.kiwiproject.consul.Consul;
 
 @UriParams
 public class ConsulConfiguration extends ConsulClientConfiguration {
+
     @UriParam
     private String key;
-    @UriParam(label = "common")
+    @UriParam
     private Consul consulClient;
-    @UriParam(label = "producer")
+    @UriParam(label = "producer", enums = 
"CHECKS,SERVICES,AGENT,REGISTER,DEREGISTER")
     private String action;
-    @UriParam(label = "producer", defaultValue = "false")
+    @UriParam(defaultValue = "false")
     private boolean valueAsString;
 
     public ConsulConfiguration() {
diff --git 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ConsulComponentBuilderFactory.java
 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ConsulComponentBuilderFactory.java
index d4bea00daf4..5ddb227634e 100644
--- 
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ConsulComponentBuilderFactory.java
+++ 
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ConsulComponentBuilderFactory.java
@@ -159,6 +159,24 @@ public interface ConsulComponentBuilderFactory {
             return this;
         }
     
+        
+        /**
+         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
+         * to string.
+         * 
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param valueAsString the value to set
+         * @return the dsl builder
+         */
+        default ConsulComponentBuilder valueAsString(boolean valueAsString) {
+            doSetProperty("valueAsString", valueAsString);
+            return this;
+        }
+    
         /**
          * Write timeout for OkHttpClient.
          * 
@@ -243,24 +261,6 @@ public interface ConsulComponentBuilderFactory {
         }
     
         
-        /**
-         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
-         * to string.
-         * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
-         * 
-         * Default: false
-         * Group: producer
-         * 
-         * @param valueAsString the value to set
-         * @return the dsl builder
-         */
-        default ConsulComponentBuilder valueAsString(boolean valueAsString) {
-            doSetProperty("valueAsString", valueAsString);
-            return this;
-        }
-    
-        
         /**
          * Whether autowiring is enabled. This is used for automatic autowiring
          * options (the option must be marked as autowired) by looking up in 
the
@@ -519,11 +519,11 @@ public interface ConsulComponentBuilderFactory {
             case "readTimeout": getOrCreateConfiguration((ConsulComponent) 
component).setReadTimeout((java.time.Duration) value); return true;
             case "tags": getOrCreateConfiguration((ConsulComponent) 
component).setTags((java.lang.String) value); return true;
             case "url": getOrCreateConfiguration((ConsulComponent) 
component).setUrl((java.lang.String) value); return true;
+            case "valueAsString": getOrCreateConfiguration((ConsulComponent) 
component).setValueAsString((boolean) value); return true;
             case "writeTimeout": getOrCreateConfiguration((ConsulComponent) 
component).setWriteTimeout((java.time.Duration) value); return true;
             case "bridgeErrorHandler": ((ConsulComponent) 
component).setBridgeErrorHandler((boolean) value); return true;
             case "action": getOrCreateConfiguration((ConsulComponent) 
component).setAction((java.lang.String) value); return true;
             case "lazyStartProducer": ((ConsulComponent) 
component).setLazyStartProducer((boolean) value); return true;
-            case "valueAsString": getOrCreateConfiguration((ConsulComponent) 
component).setValueAsString((boolean) value); return true;
             case "autowiredEnabled": ((ConsulComponent) 
component).setAutowiredEnabled((boolean) value); return true;
             case "configuration": ((ConsulComponent) 
component).setConfiguration((org.apache.camel.component.consul.ConsulConfiguration)
 value); return true;
             case "consistencyMode": getOrCreateConfiguration((ConsulComponent) 
component).setConsistencyMode((org.kiwiproject.consul.option.ConsistencyMode) 
value); return true;
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ConsulEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ConsulEndpointBuilderFactory.java
index 584a4ff27c2..5c222503b3f 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ConsulEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ConsulEndpointBuilderFactory.java
@@ -204,6 +204,38 @@ public interface ConsulEndpointBuilderFactory {
             doSetProperty("url", url);
             return this;
         }
+        /**
+         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
+         * to string.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param valueAsString the value to set
+         * @return the dsl builder
+         */
+        default ConsulEndpointConsumerBuilder valueAsString(boolean 
valueAsString) {
+            doSetProperty("valueAsString", valueAsString);
+            return this;
+        }
+        /**
+         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
+         * to string.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param valueAsString the value to set
+         * @return the dsl builder
+         */
+        default ConsulEndpointConsumerBuilder valueAsString(String 
valueAsString) {
+            doSetProperty("valueAsString", valueAsString);
+            return this;
+        }
         /**
          * Write timeout for OkHttpClient.
          * 
@@ -777,78 +809,78 @@ public interface ConsulEndpointBuilderFactory {
             return this;
         }
         /**
-         * Write timeout for OkHttpClient.
+         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
+         * to string.
          * 
-         * The option is a: <code>java.time.Duration</code> type.
+         * The option is a: <code>boolean</code> type.
          * 
+         * Default: false
          * Group: common
          * 
-         * @param writeTimeout the value to set
+         * @param valueAsString the value to set
          * @return the dsl builder
          */
-        default ConsulEndpointProducerBuilder writeTimeout(java.time.Duration 
writeTimeout) {
-            doSetProperty("writeTimeout", writeTimeout);
+        default ConsulEndpointProducerBuilder valueAsString(boolean 
valueAsString) {
+            doSetProperty("valueAsString", valueAsString);
             return this;
         }
         /**
-         * Write timeout for OkHttpClient.
+         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
+         * to string.
          * 
-         * The option will be converted to a <code>java.time.Duration</code>
-         * type.
+         * The option will be converted to a <code>boolean</code> type.
          * 
+         * Default: false
          * Group: common
          * 
-         * @param writeTimeout the value to set
+         * @param valueAsString the value to set
          * @return the dsl builder
          */
-        default ConsulEndpointProducerBuilder writeTimeout(String 
writeTimeout) {
-            doSetProperty("writeTimeout", writeTimeout);
+        default ConsulEndpointProducerBuilder valueAsString(String 
valueAsString) {
+            doSetProperty("valueAsString", valueAsString);
             return this;
         }
         /**
-         * The default action. Can be overridden by CamelConsulAction.
+         * Write timeout for OkHttpClient.
          * 
-         * The option is a: <code>java.lang.String</code> type.
+         * The option is a: <code>java.time.Duration</code> type.
          * 
-         * Group: producer
+         * Group: common
          * 
-         * @param action the value to set
+         * @param writeTimeout the value to set
          * @return the dsl builder
          */
-        default ConsulEndpointProducerBuilder action(String action) {
-            doSetProperty("action", action);
+        default ConsulEndpointProducerBuilder writeTimeout(java.time.Duration 
writeTimeout) {
+            doSetProperty("writeTimeout", writeTimeout);
             return this;
         }
         /**
-         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
-         * to string.
+         * Write timeout for OkHttpClient.
          * 
-         * The option is a: <code>boolean</code> type.
+         * The option will be converted to a <code>java.time.Duration</code>
+         * type.
          * 
-         * Default: false
-         * Group: producer
+         * Group: common
          * 
-         * @param valueAsString the value to set
+         * @param writeTimeout the value to set
          * @return the dsl builder
          */
-        default ConsulEndpointProducerBuilder valueAsString(boolean 
valueAsString) {
-            doSetProperty("valueAsString", valueAsString);
+        default ConsulEndpointProducerBuilder writeTimeout(String 
writeTimeout) {
+            doSetProperty("writeTimeout", writeTimeout);
             return this;
         }
         /**
-         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
-         * to string.
+         * The default action. Can be overridden by CamelConsulAction.
          * 
-         * The option will be converted to a <code>boolean</code> type.
+         * The option is a: <code>java.lang.String</code> type.
          * 
-         * Default: false
          * Group: producer
          * 
-         * @param valueAsString the value to set
+         * @param action the value to set
          * @return the dsl builder
          */
-        default ConsulEndpointProducerBuilder valueAsString(String 
valueAsString) {
-            doSetProperty("valueAsString", valueAsString);
+        default ConsulEndpointProducerBuilder action(String action) {
+            doSetProperty("action", action);
             return this;
         }
         /**
@@ -1231,6 +1263,38 @@ public interface ConsulEndpointBuilderFactory {
             doSetProperty("url", url);
             return this;
         }
+        /**
+         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
+         * to string.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param valueAsString the value to set
+         * @return the dsl builder
+         */
+        default ConsulEndpointBuilder valueAsString(boolean valueAsString) {
+            doSetProperty("valueAsString", valueAsString);
+            return this;
+        }
+        /**
+         * Default to transform values retrieved from Consul i.e. on KV 
endpoint
+         * to string.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: false
+         * Group: common
+         * 
+         * @param valueAsString the value to set
+         * @return the dsl builder
+         */
+        default ConsulEndpointBuilder valueAsString(String valueAsString) {
+            doSetProperty("valueAsString", valueAsString);
+            return this;
+        }
         /**
          * Write timeout for OkHttpClient.
          * 

Reply via email to