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

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 9c131685c5242e2b73294f832bdabcce48a2e4ce
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Oct 12 18:15:23 2020 +0200

    CAMEL-15647 - Camel-AWS2-Kinesis-*: Added a CborEnabled option explicitly, 
kinesis-firehose regen
---
 .../docs/aws2-kinesis-firehose-component.adoc      |  6 ++++--
 .../KinesisFirehose2ComponentConfigurer.java       |  5 +++++
 .../KinesisFirehose2EndpointConfigurer.java        |  5 +++++
 .../KinesisFirehose2EndpointUriFactory.java        |  3 ++-
 .../aws2/firehose/aws2-kinesis-firehose.json       |  2 ++
 .../main/docs/aws2-kinesis-firehose-component.adoc |  6 ++++--
 .../firehose/KinesisFirehose2Configuration.java    |  6 +++---
 .../aws2/firehose/KinesisFirehose2Endpoint.java    |  4 ++--
 ...Aws2KinesisFirehoseComponentBuilderFactory.java | 14 +++++++++++++
 .../KinesisFirehose2EndpointBuilderFactory.java    | 24 ++++++++++++++++++++++
 .../pages/aws2-kinesis-firehose-component.adoc     |  6 ++++--
 11 files changed, 69 insertions(+), 12 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kinesis-firehose-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kinesis-firehose-component.adoc
index 433528f..9f75f63 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kinesis-firehose-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/aws2-kinesis-firehose-component.adoc
@@ -42,7 +42,7 @@ The stream needs to be created prior to it being used. +
 
 
 // component options: START
-The AWS 2 Kinesis Firehose component supports 13 options, which are listed 
below.
+The AWS 2 Kinesis Firehose component supports 14 options, which are listed 
below.
 
 
 
@@ -51,6 +51,7 @@ The AWS 2 Kinesis Firehose component supports 13 options, 
which are listed below
 | Name | Description | Default | Type
 | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to 
use for all requests for this endpoint |  | FirehoseClient
 | *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking | true | boolean
+| *cborEnabled* (common) | This option will set the CBOR_ENABLED property 
during the execution | true | boolean
 | *configuration* (producer) | Component configuration |  | 
KinesisFirehose2Configuration
 | *lazyStartProducer* (producer) | 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 [...]
 | *operation* (producer) | The operation to do in case the user don't want to 
send only a record. There are 5 enums and the value can be one of: 
sendBatchRecord, createDeliveryStream, deleteDeliveryStream, 
describeDeliveryStream, updateDestination |  | KinesisFirehose2Operations
@@ -90,7 +91,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (13 parameters):
+=== Query Parameters (14 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -98,6 +99,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to 
use for all requests for this endpoint |  | FirehoseClient
 | *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking | true | boolean
+| *cborEnabled* (common) | This option will set the CBOR_ENABLED property 
during the execution | true | boolean
 | *lazyStartProducer* (producer) | 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 [...]
 | *operation* (producer) | The operation to do in case the user don't want to 
send only a record. There are 5 enums and the value can be one of: 
sendBatchRecord, createDeliveryStream, deleteDeliveryStream, 
describeDeliveryStream, updateDestination |  | KinesisFirehose2Operations
 | *proxyHost* (producer) | To define a proxy host when instantiating the 
Kinesis Firehose client |  | String
diff --git 
a/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2ComponentConfigurer.java
 
b/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2ComponentConfigurer.java
index 0795128..6595651 100644
--- 
a/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2ComponentConfigurer.java
+++ 
b/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2ComponentConfigurer.java
@@ -20,6 +20,7 @@ public class KinesisFirehose2ComponentConfigurer extends 
PropertyConfigurerSuppo
         Map<String, Object> map = new CaseInsensitiveMap();
         map.put("amazonKinesisFirehoseClient", 
software.amazon.awssdk.services.firehose.FirehoseClient.class);
         map.put("autoDiscoverClient", boolean.class);
+        map.put("cborEnabled", boolean.class);
         map.put("configuration", 
org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration.class);
         map.put("lazyStartProducer", boolean.class);
         map.put("operation", 
org.apache.camel.component.aws2.firehose.KinesisFirehose2Operations.class);
@@ -53,6 +54,8 @@ public class KinesisFirehose2ComponentConfigurer extends 
PropertyConfigurerSuppo
         case "autoDiscoverClient": 
getOrCreateConfiguration(target).setAutoDiscoverClient(property(camelContext, 
boolean.class, value)); return true;
         case "basicpropertybinding":
         case "basicPropertyBinding": 
target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); 
return true;
+        case "cborenabled":
+        case "cborEnabled": 
getOrCreateConfiguration(target).setCborEnabled(property(camelContext, 
boolean.class, value)); return true;
         case "configuration": target.setConfiguration(property(camelContext, 
org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration.class, 
value)); return true;
         case "lazystartproducer":
         case "lazyStartProducer": 
target.setLazyStartProducer(property(camelContext, boolean.class, value)); 
return true;
@@ -89,6 +92,8 @@ public class KinesisFirehose2ComponentConfigurer extends 
PropertyConfigurerSuppo
         case "autoDiscoverClient": return 
getOrCreateConfiguration(target).isAutoDiscoverClient();
         case "basicpropertybinding":
         case "basicPropertyBinding": return target.isBasicPropertyBinding();
+        case "cborenabled":
+        case "cborEnabled": return 
getOrCreateConfiguration(target).isCborEnabled();
         case "configuration": return target.getConfiguration();
         case "lazystartproducer":
         case "lazyStartProducer": return target.isLazyStartProducer();
diff --git 
a/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointConfigurer.java
 
b/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointConfigurer.java
index 0d243fa..7d402f9 100644
--- 
a/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointConfigurer.java
+++ 
b/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointConfigurer.java
@@ -21,6 +21,7 @@ public class KinesisFirehose2EndpointConfigurer extends 
PropertyConfigurerSuppor
         map.put("streamName", java.lang.String.class);
         map.put("amazonKinesisFirehoseClient", 
software.amazon.awssdk.services.firehose.FirehoseClient.class);
         map.put("autoDiscoverClient", boolean.class);
+        map.put("cborEnabled", boolean.class);
         map.put("lazyStartProducer", boolean.class);
         map.put("operation", 
org.apache.camel.component.aws2.firehose.KinesisFirehose2Operations.class);
         map.put("proxyHost", java.lang.String.class);
@@ -47,6 +48,8 @@ public class KinesisFirehose2EndpointConfigurer extends 
PropertyConfigurerSuppor
         case "autoDiscoverClient": 
target.getConfiguration().setAutoDiscoverClient(property(camelContext, 
boolean.class, value)); return true;
         case "basicpropertybinding":
         case "basicPropertyBinding": 
target.setBasicPropertyBinding(property(camelContext, boolean.class, value)); 
return true;
+        case "cborenabled":
+        case "cborEnabled": 
target.getConfiguration().setCborEnabled(property(camelContext, boolean.class, 
value)); return true;
         case "lazystartproducer":
         case "lazyStartProducer": 
target.setLazyStartProducer(property(camelContext, boolean.class, value)); 
return true;
         case "operation": 
target.getConfiguration().setOperation(property(camelContext, 
org.apache.camel.component.aws2.firehose.KinesisFirehose2Operations.class, 
value)); return true;
@@ -83,6 +86,8 @@ public class KinesisFirehose2EndpointConfigurer extends 
PropertyConfigurerSuppor
         case "autoDiscoverClient": return 
target.getConfiguration().isAutoDiscoverClient();
         case "basicpropertybinding":
         case "basicPropertyBinding": return target.isBasicPropertyBinding();
+        case "cborenabled":
+        case "cborEnabled": return target.getConfiguration().isCborEnabled();
         case "lazystartproducer":
         case "lazyStartProducer": return target.isLazyStartProducer();
         case "operation": return target.getConfiguration().getOperation();
diff --git 
a/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointUriFactory.java
 
b/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointUriFactory.java
index 33f902a..cf53300 100644
--- 
a/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointUriFactory.java
+++ 
b/components/camel-aws2-kinesis/src/generated/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2EndpointUriFactory.java
@@ -20,7 +20,7 @@ public class KinesisFirehose2EndpointUriFactory extends 
org.apache.camel.support
     private static final Set<String> PROPERTY_NAMES;
     private static final Set<String> SECRET_PROPERTY_NAMES;
     static {
-        Set<String> props = new HashSet<>(14);
+        Set<String> props = new HashSet<>(15);
         props.add("basicPropertyBinding");
         props.add("autoDiscoverClient");
         props.add("amazonKinesisFirehoseClient");
@@ -33,6 +33,7 @@ public class KinesisFirehose2EndpointUriFactory extends 
org.apache.camel.support
         props.add("proxyPort");
         props.add("lazyStartProducer");
         props.add("accessKey");
+        props.add("cborEnabled");
         props.add("region");
         props.add("operation");
         PROPERTY_NAMES = Collections.unmodifiableSet(props);
diff --git 
a/components/camel-aws2-kinesis/src/generated/resources/org/apache/camel/component/aws2/firehose/aws2-kinesis-firehose.json
 
b/components/camel-aws2-kinesis/src/generated/resources/org/apache/camel/component/aws2/firehose/aws2-kinesis-firehose.json
index bc1fc30..71d1baf 100644
--- 
a/components/camel-aws2-kinesis/src/generated/resources/org/apache/camel/component/aws2/firehose/aws2-kinesis-firehose.json
+++ 
b/components/camel-aws2-kinesis/src/generated/resources/org/apache/camel/component/aws2/firehose/aws2-kinesis-firehose.json
@@ -24,6 +24,7 @@
   "componentProperties": {
     "amazonKinesisFirehoseClient": { "kind": "property", "displayName": 
"Amazon Kinesis Firehose Client", "group": "producer", "label": "", "required": 
false, "type": "object", "javaType": 
"software.amazon.awssdk.services.firehose.FirehoseClient", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "Amazon Kinesis Firehose 
client to use for all requests  [...]
     "autoDiscoverClient": { "kind": "property", "displayName": "Auto Discover 
Client", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "secret": false, 
"defaultValue": "true", "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "Setting the 
autoDiscoverClient mechanism, if true, the component will look for a client 
insta [...]
+    "cborEnabled": { "kind": "property", "displayName": "Cbor Enabled", 
"group": "common", "label": "common", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": 
"true", "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "This option will set the 
CBOR_ENABLED property during the execution" },
     "configuration": { "kind": "property", "displayName": "Configuration", 
"group": "producer", "label": "", "required": false, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"deprecated": false, "secret": false, "description": "Component configuration" 
},
     "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start 
Producer", "group": "producer", "label": "producer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": 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 starting and cause the r [...]
     "operation": { "kind": "property", "displayName": "Operation", "group": 
"producer", "label": "producer", "required": false, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Operations", "enum": 
[ "sendBatchRecord", "createDeliveryStream", "deleteDeliveryStream", 
"describeDeliveryStream", "updateDestination" ], "deprecated": false, "secret": 
false, "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", "co 
[...]
@@ -40,6 +41,7 @@
     "streamName": { "kind": "path", "displayName": "Stream Name", "group": 
"producer", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "secret": 
false, "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "Name of the stream" },
     "amazonKinesisFirehoseClient": { "kind": "parameter", "displayName": 
"Amazon Kinesis Firehose Client", "group": "producer", "label": "", "required": 
false, "type": "object", "javaType": 
"software.amazon.awssdk.services.firehose.FirehoseClient", "deprecated": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "Amazon Kinesis Firehose 
client to use for all requests [...]
     "autoDiscoverClient": { "kind": "parameter", "displayName": "Auto Discover 
Client", "group": "common", "label": "common", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "secret": false, 
"defaultValue": "true", "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "Setting the 
autoDiscoverClient mechanism, if true, the component will look for a client 
inst [...]
+    "cborEnabled": { "kind": "parameter", "displayName": "Cbor Enabled", 
"group": "common", "label": "common", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": 
"true", "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "This option will set the 
CBOR_ENABLED property during the execution" },
     "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start 
Producer", "group": "producer", "label": "producer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": 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 starting and cause the  [...]
     "operation": { "kind": "parameter", "displayName": "Operation", "group": 
"producer", "label": "producer", "required": false, "type": "object", 
"javaType": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Operations", "enum": 
[ "sendBatchRecord", "createDeliveryStream", "deleteDeliveryStream", 
"describeDeliveryStream", "updateDestination" ], "deprecated": false, "secret": 
false, "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", "c 
[...]
     "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": 
"producer", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration", 
"configurationField": "configuration", "description": "To define a proxy host 
when instantiating the Kinesis Firehose client" },
diff --git 
a/components/camel-aws2-kinesis/src/main/docs/aws2-kinesis-firehose-component.adoc
 
b/components/camel-aws2-kinesis/src/main/docs/aws2-kinesis-firehose-component.adoc
index 433528f..9f75f63 100644
--- 
a/components/camel-aws2-kinesis/src/main/docs/aws2-kinesis-firehose-component.adoc
+++ 
b/components/camel-aws2-kinesis/src/main/docs/aws2-kinesis-firehose-component.adoc
@@ -42,7 +42,7 @@ The stream needs to be created prior to it being used. +
 
 
 // component options: START
-The AWS 2 Kinesis Firehose component supports 13 options, which are listed 
below.
+The AWS 2 Kinesis Firehose component supports 14 options, which are listed 
below.
 
 
 
@@ -51,6 +51,7 @@ The AWS 2 Kinesis Firehose component supports 13 options, 
which are listed below
 | Name | Description | Default | Type
 | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to 
use for all requests for this endpoint |  | FirehoseClient
 | *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking | true | boolean
+| *cborEnabled* (common) | This option will set the CBOR_ENABLED property 
during the execution | true | boolean
 | *configuration* (producer) | Component configuration |  | 
KinesisFirehose2Configuration
 | *lazyStartProducer* (producer) | 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 [...]
 | *operation* (producer) | The operation to do in case the user don't want to 
send only a record. There are 5 enums and the value can be one of: 
sendBatchRecord, createDeliveryStream, deleteDeliveryStream, 
describeDeliveryStream, updateDestination |  | KinesisFirehose2Operations
@@ -90,7 +91,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (13 parameters):
+=== Query Parameters (14 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -98,6 +99,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to 
use for all requests for this endpoint |  | FirehoseClient
 | *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking | true | boolean
+| *cborEnabled* (common) | This option will set the CBOR_ENABLED property 
during the execution | true | boolean
 | *lazyStartProducer* (producer) | 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 [...]
 | *operation* (producer) | The operation to do in case the user don't want to 
send only a record. There are 5 enums and the value can be one of: 
sendBatchRecord, createDeliveryStream, deleteDeliveryStream, 
describeDeliveryStream, updateDestination |  | KinesisFirehose2Operations
 | *proxyHost* (producer) | To define a proxy host when instantiating the 
Kinesis Firehose client |  | String
diff --git 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
index 292a3b2..e162838 100644
--- 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
+++ 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Configuration.java
@@ -55,8 +55,8 @@ public class KinesisFirehose2Configuration implements 
Cloneable {
                             + " look for a client instance in the registry 
automatically otherwise it will skip that checking")
     private boolean autoDiscoverClient = true;
     @UriParam(label = "common", defaultValue = "true",
-            description = "This option will set the CBOR_ENABLED property 
during the execution")
-  private boolean cborEnabled = true;
+              description = "This option will set the CBOR_ENABLED property 
during the execution")
+    private boolean cborEnabled = true;
 
     public void setAmazonKinesisFirehoseClient(FirehoseClient client) {
         this.amazonKinesisFirehoseClient = client;
@@ -145,7 +145,7 @@ public class KinesisFirehose2Configuration implements 
Cloneable {
     public void setAutoDiscoverClient(boolean autoDiscoverClient) {
         this.autoDiscoverClient = autoDiscoverClient;
     }
-    
+
     public boolean isCborEnabled() {
         return cborEnabled;
     }
diff --git 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Endpoint.java
 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Endpoint.java
index 96a8a0a..07545be 100644
--- 
a/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Endpoint.java
+++ 
b/components/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/firehose/KinesisFirehose2Endpoint.java
@@ -16,8 +16,6 @@
  */
 package org.apache.camel.component.aws2.firehose;
 
-import static software.amazon.awssdk.core.SdkSystemSetting.CBOR_ENABLED;
-
 import java.net.URI;
 
 import org.apache.camel.Category;
@@ -39,6 +37,8 @@ import 
software.amazon.awssdk.services.firehose.FirehoseClient;
 import software.amazon.awssdk.services.firehose.FirehoseClientBuilder;
 import software.amazon.awssdk.utils.AttributeMap;
 
+import static software.amazon.awssdk.core.SdkSystemSetting.CBOR_ENABLED;
+
 /**
  * Produce data to AWS Kinesis Firehose streams using AWS SDK version 2.x.
  */
diff --git 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2KinesisFirehoseComponentBuilderFactory.java
 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2KinesisFirehoseComponentBuilderFactory.java
index d32e8b8..d7090f6 100644
--- 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2KinesisFirehoseComponentBuilderFactory.java
+++ 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2KinesisFirehoseComponentBuilderFactory.java
@@ -79,6 +79,19 @@ public interface Aws2KinesisFirehoseComponentBuilderFactory {
             return this;
         }
         /**
+         * This option will set the CBOR_ENABLED property during the execution.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: true
+         * Group: common
+         */
+        default Aws2KinesisFirehoseComponentBuilder cborEnabled(
+                boolean cborEnabled) {
+            doSetProperty("cborEnabled", cborEnabled);
+            return this;
+        }
+        /**
          * Component configuration.
          * 
          * The option is a:
@@ -261,6 +274,7 @@ public interface Aws2KinesisFirehoseComponentBuilderFactory 
{
             switch (name) {
             case "amazonKinesisFirehoseClient": 
getOrCreateConfiguration((KinesisFirehose2Component) 
component).setAmazonKinesisFirehoseClient((software.amazon.awssdk.services.firehose.FirehoseClient)
 value); return true;
             case "autoDiscoverClient": 
getOrCreateConfiguration((KinesisFirehose2Component) 
component).setAutoDiscoverClient((boolean) value); return true;
+            case "cborEnabled": 
getOrCreateConfiguration((KinesisFirehose2Component) 
component).setCborEnabled((boolean) value); return true;
             case "configuration": ((KinesisFirehose2Component) 
component).setConfiguration((org.apache.camel.component.aws2.firehose.KinesisFirehose2Configuration)
 value); return true;
             case "lazyStartProducer": ((KinesisFirehose2Component) 
component).setLazyStartProducer((boolean) value); return true;
             case "operation": 
getOrCreateConfiguration((KinesisFirehose2Component) 
component).setOperation((org.apache.camel.component.aws2.firehose.KinesisFirehose2Operations)
 value); return true;
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KinesisFirehose2EndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KinesisFirehose2EndpointBuilderFactory.java
index 64b5d85..e5af6c9 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KinesisFirehose2EndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/KinesisFirehose2EndpointBuilderFactory.java
@@ -100,6 +100,30 @@ public interface KinesisFirehose2EndpointBuilderFactory {
             return this;
         }
         /**
+         * This option will set the CBOR_ENABLED property during the execution.
+         * 
+         * The option is a: <code>boolean</code> type.
+         * 
+         * Default: true
+         * Group: common
+         */
+        default KinesisFirehose2EndpointBuilder cborEnabled(boolean 
cborEnabled) {
+            doSetProperty("cborEnabled", cborEnabled);
+            return this;
+        }
+        /**
+         * This option will set the CBOR_ENABLED property during the execution.
+         * 
+         * The option will be converted to a <code>boolean</code> type.
+         * 
+         * Default: true
+         * Group: common
+         */
+        default KinesisFirehose2EndpointBuilder cborEnabled(String 
cborEnabled) {
+            doSetProperty("cborEnabled", cborEnabled);
+            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
diff --git 
a/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc 
b/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc
index d509a33..6ad4277 100644
--- a/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc
+++ b/docs/components/modules/ROOT/pages/aws2-kinesis-firehose-component.adoc
@@ -44,7 +44,7 @@ The stream needs to be created prior to it being used. +
 
 
 // component options: START
-The AWS 2 Kinesis Firehose component supports 13 options, which are listed 
below.
+The AWS 2 Kinesis Firehose component supports 14 options, which are listed 
below.
 
 
 
@@ -53,6 +53,7 @@ The AWS 2 Kinesis Firehose component supports 13 options, 
which are listed below
 | Name | Description | Default | Type
 | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to 
use for all requests for this endpoint |  | FirehoseClient
 | *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking | true | boolean
+| *cborEnabled* (common) | This option will set the CBOR_ENABLED property 
during the execution | true | boolean
 | *configuration* (producer) | Component configuration |  | 
KinesisFirehose2Configuration
 | *lazyStartProducer* (producer) | 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 [...]
 | *operation* (producer) | The operation to do in case the user don't want to 
send only a record. There are 5 enums and the value can be one of: 
sendBatchRecord, createDeliveryStream, deleteDeliveryStream, 
describeDeliveryStream, updateDestination |  | KinesisFirehose2Operations
@@ -92,7 +93,7 @@ with the following path and query parameters:
 |===
 
 
-=== Query Parameters (13 parameters):
+=== Query Parameters (14 parameters):
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
@@ -100,6 +101,7 @@ with the following path and query parameters:
 | Name | Description | Default | Type
 | *amazonKinesisFirehoseClient* (producer) | Amazon Kinesis Firehose client to 
use for all requests for this endpoint |  | FirehoseClient
 | *autoDiscoverClient* (common) | Setting the autoDiscoverClient mechanism, if 
true, the component will look for a client instance in the registry 
automatically otherwise it will skip that checking | true | boolean
+| *cborEnabled* (common) | This option will set the CBOR_ENABLED property 
during the execution | true | boolean
 | *lazyStartProducer* (producer) | 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 [...]
 | *operation* (producer) | The operation to do in case the user don't want to 
send only a record. There are 5 enums and the value can be one of: 
sendBatchRecord, createDeliveryStream, deleteDeliveryStream, 
describeDeliveryStream, updateDestination |  | KinesisFirehose2Operations
 | *proxyHost* (producer) | To define a proxy host when instantiating the 
Kinesis Firehose client |  | String

Reply via email to