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 04bceff59fc camel-kamelet - Mark options as advanced as they are 
seldom in use, and the options that are to be configured are the kamelet 
options instead. This avoids cluttering tooling with mixed options in its list.
04bceff59fc is described below

commit 04bceff59fc8e4f9b5e5c0e14d34ab9ebf7b1ad6
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Jun 8 13:36:47 2022 +0200

    camel-kamelet - Mark options as advanced as they are seldom in use, and the 
options that are to be configured are the kamelet options instead. This avoids 
cluttering tooling with mixed options in its list.
---
 .../apache/camel/catalog/components/kamelet.json   |  10 +-
 .../apache/camel/component/kamelet/kamelet.json    |  10 +-
 .../camel/component/kamelet/KameletEndpoint.java   |   9 +-
 .../dsl/KameletEndpointBuilderFactory.java         | 220 ++++++++++-----------
 4 files changed, 125 insertions(+), 124 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kamelet.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kamelet.json
index a52dd878897..3b3d34fa2ae 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kamelet.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kamelet.json
@@ -34,14 +34,14 @@
   },
   "properties": {
     "templateId": { "kind": "path", "displayName": "Template Id", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The Route Template ID" },
-    "routeId": { "kind": "path", "displayName": "Route Id", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The Route ID. Default value notice: The 
ID will be auto-generated if not provided" },
-    "location": { "kind": "parameter", "displayName": "Location", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Location of the Kamelet to use which can be specified as a 
resource from file system, classpath etc. The location cannot use wildcards, 
and must refer to a file including extension, for example 
file:\/etc\/foo-kamelet.xml" },
+    "routeId": { "kind": "path", "displayName": "Route Id", "group": 
"advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The Route ID. Default 
value notice: The ID will be auto-generated if not provided" },
     "bridgeErrorHandler": { "kind": "parameter", "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 occurred 
while the consumer is trying to pickup incoming messages, or the likes, will 
now be processed as a m [...]
     "exceptionHandler": { "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 default the 
con [...]
     "exchangePattern": { "kind": "parameter", "displayName": "Exchange 
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the exchange pattern when the consumer creates an 
exchange." },
-    "block": { "kind": "parameter", "displayName": "Block", "group": 
"producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "If sending a message to a direct 
endpoint which has no active consumer, then we can tell the producer to block 
and wait for the consumer to become active." },
-    "failIfNoConsumers": { "kind": "parameter", "displayName": "Fail If No 
Consumers", "group": "producer", "label": "producer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether the 
producer should fail by throwing an exception, when sending to a kamelet 
endpoint with no active consumers." },
     "lazyStartProducer": { "kind": "parameter", "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 fail during sta [...]
-    "timeout": { "kind": "parameter", "displayName": "Timeout", "group": 
"producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 30000, "description": "The timeout value to use if block is 
enabled." }
+    "block": { "kind": "parameter", "displayName": "Block", "group": "producer 
(advanced)", "label": "producer,advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "If sending a message to 
a direct endpoint which has no active consumer, then we can tell the producer 
to block and wait for the consumer to become active." },
+    "failIfNoConsumers": { "kind": "parameter", "displayName": "Fail If No 
Consumers", "group": "producer (advanced)", "label": "producer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Whether the producer should fail by throwing an exception, when 
sending to a kamelet endpoint with no active consumers." },
+    "timeout": { "kind": "parameter", "displayName": "Timeout", "group": 
"producer (advanced)", "label": "producer,advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 30000, "description": "The timeout value to 
use if block is enabled." },
+    "location": { "kind": "parameter", "displayName": "Location", "group": 
"advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "Location of the Kamelet to 
use which can be specified as a resource from file system, classpath etc. The 
location cannot use wildcards, and must refer to a file including extension, 
for example file:\/etc\/foo-kamelet.xml" }
   }
 }
diff --git 
a/components/camel-kamelet/src/generated/resources/org/apache/camel/component/kamelet/kamelet.json
 
b/components/camel-kamelet/src/generated/resources/org/apache/camel/component/kamelet/kamelet.json
index a52dd878897..3b3d34fa2ae 100644
--- 
a/components/camel-kamelet/src/generated/resources/org/apache/camel/component/kamelet/kamelet.json
+++ 
b/components/camel-kamelet/src/generated/resources/org/apache/camel/component/kamelet/kamelet.json
@@ -34,14 +34,14 @@
   },
   "properties": {
     "templateId": { "kind": "path", "displayName": "Template Id", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The Route Template ID" },
-    "routeId": { "kind": "path", "displayName": "Route Id", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": 
false, "secret": false, "description": "The Route ID. Default value notice: The 
ID will be auto-generated if not provided" },
-    "location": { "kind": "parameter", "displayName": "Location", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Location of the Kamelet to use which can be specified as a 
resource from file system, classpath etc. The location cannot use wildcards, 
and must refer to a file including extension, for example 
file:\/etc\/foo-kamelet.xml" },
+    "routeId": { "kind": "path", "displayName": "Route Id", "group": 
"advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "The Route ID. Default 
value notice: The ID will be auto-generated if not provided" },
     "bridgeErrorHandler": { "kind": "parameter", "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 occurred 
while the consumer is trying to pickup incoming messages, or the likes, will 
now be processed as a m [...]
     "exceptionHandler": { "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 default the 
con [...]
     "exchangePattern": { "kind": "parameter", "displayName": "Exchange 
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the exchange pattern when the consumer creates an 
exchange." },
-    "block": { "kind": "parameter", "displayName": "Block", "group": 
"producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": true, "description": "If sending a message to a direct 
endpoint which has no active consumer, then we can tell the producer to block 
and wait for the consumer to become active." },
-    "failIfNoConsumers": { "kind": "parameter", "displayName": "Fail If No 
Consumers", "group": "producer", "label": "producer", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether the 
producer should fail by throwing an exception, when sending to a kamelet 
endpoint with no active consumers." },
     "lazyStartProducer": { "kind": "parameter", "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 fail during sta [...]
-    "timeout": { "kind": "parameter", "displayName": "Timeout", "group": 
"producer", "label": "producer", "required": false, "type": "integer", 
"javaType": "long", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 30000, "description": "The timeout value to use if block is 
enabled." }
+    "block": { "kind": "parameter", "displayName": "Block", "group": "producer 
(advanced)", "label": "producer,advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "If sending a message to 
a direct endpoint which has no active consumer, then we can tell the producer 
to block and wait for the consumer to become active." },
+    "failIfNoConsumers": { "kind": "parameter", "displayName": "Fail If No 
Consumers", "group": "producer (advanced)", "label": "producer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": true, 
"description": "Whether the producer should fail by throwing an exception, when 
sending to a kamelet endpoint with no active consumers." },
+    "timeout": { "kind": "parameter", "displayName": "Timeout", "group": 
"producer (advanced)", "label": "producer,advanced", "required": false, "type": 
"integer", "javaType": "long", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 30000, "description": "The timeout value to 
use if block is enabled." },
+    "location": { "kind": "parameter", "displayName": "Location", "group": 
"advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", 
"autowired": false, "secret": false, "description": "Location of the Kamelet to 
use which can be specified as a resource from file system, classpath etc. The 
location cannot use wildcards, and must refer to a file including extension, 
for example file:\/etc\/foo-kamelet.xml" }
   }
 }
diff --git 
a/components/camel-kamelet/src/main/java/org/apache/camel/component/kamelet/KameletEndpoint.java
 
b/components/camel-kamelet/src/main/java/org/apache/camel/component/kamelet/KameletEndpoint.java
index 59e1d90a779..7a426ab54e4 100644
--- 
a/components/camel-kamelet/src/main/java/org/apache/camel/component/kamelet/KameletEndpoint.java
+++ 
b/components/camel-kamelet/src/main/java/org/apache/camel/component/kamelet/KameletEndpoint.java
@@ -40,18 +40,19 @@ public class KameletEndpoint extends DefaultEndpoint {
     @Metadata(required = true)
     @UriPath(description = "The Route Template ID")
     private final String templateId;
-    @Metadata
+    @Metadata(label = "advanced")
     @UriPath(description = "The Route ID", defaultValueNote = "The ID will be 
auto-generated if not provided")
     private final String routeId;
+    @Metadata(label = "advanced")
     @UriParam(description = "Location of the Kamelet to use which can be 
specified as a resource from file system, classpath etc."
                             + " The location cannot use wildcards, and must 
refer to a file including extension, for example file:/etc/foo-kamelet.xml")
     private String location;
 
-    @UriParam(label = "producer", defaultValue = "true")
+    @UriParam(label = "producer,advanced", defaultValue = "true")
     private boolean block = true;
-    @UriParam(label = "producer", defaultValue = "30000")
+    @UriParam(label = "producer,advanced", defaultValue = "30000")
     private long timeout = 30000L;
-    @UriParam(label = "producer", defaultValue = "true")
+    @UriParam(label = "producer,advanced", defaultValue = "true")
     private boolean failIfNoConsumers = true;
 
     public KameletEndpoint(String uri,
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KameletEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KameletEndpointBuilderFactory.java
index 9e87c95e182..1b335a543dc 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KameletEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KameletEndpointBuilderFactory.java
@@ -43,23 +43,6 @@ public interface KameletEndpointBuilderFactory {
         default AdvancedKameletEndpointConsumerBuilder advanced() {
             return (AdvancedKameletEndpointConsumerBuilder) this;
         }
-        /**
-         * Location of the Kamelet to use which can be specified as a resource
-         * from file system, classpath etc. The location cannot use wildcards,
-         * and must refer to a file including extension, for example
-         * file:/etc/foo-kamelet.xml.
-         * 
-         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: common
-         * 
-         * @param location the value to set
-         * @return the dsl builder
-         */
-        default KameletEndpointConsumerBuilder location(String location) {
-            doSetProperty("location", location);
-            return this;
-        }
         /**
          * Allows for bridging the consumer to the Camel routing Error Handler,
          * which mean any exceptions occurred while the consumer is trying to
@@ -186,6 +169,23 @@ public interface KameletEndpointBuilderFactory {
             doSetProperty("exchangePattern", exchangePattern);
             return this;
         }
+        /**
+         * Location of the Kamelet to use which can be specified as a resource
+         * from file system, classpath etc. The location cannot use wildcards,
+         * and must refer to a file including extension, for example
+         * file:/etc/foo-kamelet.xml.
+         * 
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * 
+         * Group: advanced
+         * 
+         * @param location the value to set
+         * @return the dsl builder
+         */
+        default AdvancedKameletEndpointConsumerBuilder location(String 
location) {
+            doSetProperty("location", location);
+            return this;
+        }
     }
 
     /**
@@ -198,22 +198,65 @@ public interface KameletEndpointBuilderFactory {
             return (AdvancedKameletEndpointProducerBuilder) this;
         }
         /**
-         * Location of the Kamelet to use which can be specified as a resource
-         * from file system, classpath etc. The location cannot use wildcards,
-         * and must refer to a file including extension, for example
-         * file:/etc/foo-kamelet.xml.
+         * 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: &lt;code&gt;java.lang.String&lt;/code&gt; type.
+         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
-         * Group: common
+         * Default: false
+         * Group: producer
          * 
-         * @param location the value to set
+         * @param lazyStartProducer the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder location(String location) {
-            doSetProperty("location", location);
+        default KameletEndpointProducerBuilder 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 &lt;code&gt;boolean&lt;/code&gt;
+         * type.
+         * 
+         * Default: false
+         * Group: producer
+         * 
+         * @param lazyStartProducer the value to set
+         * @return the dsl builder
+         */
+        default KameletEndpointProducerBuilder lazyStartProducer(
+                String lazyStartProducer) {
+            doSetProperty("lazyStartProducer", lazyStartProducer);
+            return this;
+        }
+    }
+
+    /**
+     * Advanced builder for endpoint producers for the Kamelet component.
+     */
+    public interface AdvancedKameletEndpointProducerBuilder
+            extends
+                EndpointProducerBuilder {
+        default KameletEndpointProducerBuilder basic() {
+            return (KameletEndpointProducerBuilder) this;
+        }
         /**
          * If sending a message to a direct endpoint which has no active
          * consumer, then we can tell the producer to block and wait for the
@@ -222,12 +265,12 @@ public interface KameletEndpointBuilderFactory {
          * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
          * Default: true
-         * Group: producer
+         * Group: producer (advanced)
          * 
          * @param block the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder block(boolean block) {
+        default AdvancedKameletEndpointProducerBuilder block(boolean block) {
             doSetProperty("block", block);
             return this;
         }
@@ -240,12 +283,12 @@ public interface KameletEndpointBuilderFactory {
          * type.
          * 
          * Default: true
-         * Group: producer
+         * Group: producer (advanced)
          * 
          * @param block the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder block(String block) {
+        default AdvancedKameletEndpointProducerBuilder block(String block) {
             doSetProperty("block", block);
             return this;
         }
@@ -256,12 +299,12 @@ public interface KameletEndpointBuilderFactory {
          * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
          * 
          * Default: true
-         * Group: producer
+         * Group: producer (advanced)
          * 
          * @param failIfNoConsumers the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder failIfNoConsumers(
+        default AdvancedKameletEndpointProducerBuilder failIfNoConsumers(
                 boolean failIfNoConsumers) {
             doSetProperty("failIfNoConsumers", failIfNoConsumers);
             return this;
@@ -274,108 +317,65 @@ public interface KameletEndpointBuilderFactory {
          * type.
          * 
          * Default: true
-         * Group: producer
+         * Group: producer (advanced)
          * 
          * @param failIfNoConsumers the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder failIfNoConsumers(
+        default AdvancedKameletEndpointProducerBuilder failIfNoConsumers(
                 String failIfNoConsumers) {
             doSetProperty("failIfNoConsumers", failIfNoConsumers);
             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: &lt;code&gt;boolean&lt;/code&gt; type.
-         * 
-         * Default: false
-         * Group: producer
-         * 
-         * @param lazyStartProducer the value to set
-         * @return the dsl builder
-         */
-        default KameletEndpointProducerBuilder 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 timeout value to use if block is enabled.
          * 
-         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
-         * type.
+         * The option is a: &lt;code&gt;long&lt;/code&gt; type.
          * 
-         * Default: false
-         * Group: producer
+         * Default: 30000
+         * Group: producer (advanced)
          * 
-         * @param lazyStartProducer the value to set
+         * @param timeout the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder lazyStartProducer(
-                String lazyStartProducer) {
-            doSetProperty("lazyStartProducer", lazyStartProducer);
+        default AdvancedKameletEndpointProducerBuilder timeout(long timeout) {
+            doSetProperty("timeout", timeout);
             return this;
         }
         /**
          * The timeout value to use if block is enabled.
          * 
-         * The option is a: &lt;code&gt;long&lt;/code&gt; type.
+         * The option will be converted to a &lt;code&gt;long&lt;/code&gt; 
type.
          * 
          * Default: 30000
-         * Group: producer
+         * Group: producer (advanced)
          * 
          * @param timeout the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder timeout(long timeout) {
+        default AdvancedKameletEndpointProducerBuilder timeout(String timeout) 
{
             doSetProperty("timeout", timeout);
             return this;
         }
         /**
-         * The timeout value to use if block is enabled.
+         * Location of the Kamelet to use which can be specified as a resource
+         * from file system, classpath etc. The location cannot use wildcards,
+         * and must refer to a file including extension, for example
+         * file:/etc/foo-kamelet.xml.
          * 
-         * The option will be converted to a &lt;code&gt;long&lt;/code&gt; 
type.
+         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
          * 
-         * Default: 30000
-         * Group: producer
+         * Group: advanced
          * 
-         * @param timeout the value to set
+         * @param location the value to set
          * @return the dsl builder
          */
-        default KameletEndpointProducerBuilder timeout(String timeout) {
-            doSetProperty("timeout", timeout);
+        default AdvancedKameletEndpointProducerBuilder location(String 
location) {
+            doSetProperty("location", location);
             return this;
         }
     }
 
-    /**
-     * Advanced builder for endpoint producers for the Kamelet component.
-     */
-    public interface AdvancedKameletEndpointProducerBuilder
-            extends
-                EndpointProducerBuilder {
-        default KameletEndpointProducerBuilder basic() {
-            return (KameletEndpointProducerBuilder) this;
-        }
-    }
-
     /**
      * Builder for endpoint for the Kamelet component.
      */
@@ -386,6 +386,18 @@ public interface KameletEndpointBuilderFactory {
         default AdvancedKameletEndpointBuilder advanced() {
             return (AdvancedKameletEndpointBuilder) this;
         }
+    }
+
+    /**
+     * Advanced builder for endpoint for the Kamelet component.
+     */
+    public interface AdvancedKameletEndpointBuilder
+            extends
+                AdvancedKameletEndpointConsumerBuilder,
+                AdvancedKameletEndpointProducerBuilder {
+        default KameletEndpointBuilder basic() {
+            return (KameletEndpointBuilder) this;
+        }
         /**
          * Location of the Kamelet to use which can be specified as a resource
          * from file system, classpath etc. The location cannot use wildcards,
@@ -394,29 +406,17 @@ public interface KameletEndpointBuilderFactory {
          * 
          * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
          * 
-         * Group: common
+         * Group: advanced
          * 
          * @param location the value to set
          * @return the dsl builder
          */
-        default KameletEndpointBuilder location(String location) {
+        default AdvancedKameletEndpointBuilder location(String location) {
             doSetProperty("location", location);
             return this;
         }
     }
 
-    /**
-     * Advanced builder for endpoint for the Kamelet component.
-     */
-    public interface AdvancedKameletEndpointBuilder
-            extends
-                AdvancedKameletEndpointConsumerBuilder,
-                AdvancedKameletEndpointProducerBuilder {
-        default KameletEndpointBuilder basic() {
-            return (KameletEndpointBuilder) this;
-        }
-    }
-
     public interface KameletBuilders {
         /**
          * Kamelet (camel-kamelet)

Reply via email to