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

davsclaus pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.18.x by this push:
     new be2b34f2096 CAMEL-18613: camel-cxf - Add option on endpoint to 
configure schema validation (#8556)
be2b34f2096 is described below

commit be2b34f20966317d67c1f09c19c61432bf87b89d
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Mon Oct 17 16:03:40 2022 +0200

    CAMEL-18613: camel-cxf - Add option on endpoint to configure schema 
validation (#8556)
---
 .../org/apache/camel/catalog/components/cxf.json   |   1 +
 .../endpoint/dsl/CxfEndpointBuilderFactory.java    | 105 +++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cxf.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cxf.json
index 12e165ac0da..1f36a4b76f2 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cxf.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/cxf.json
@@ -63,6 +63,7 @@
     "mergeProtocolHeaders": { "kind": "parameter", "displayName": "Merge 
Protocol Headers", "group": "advanced", "label": "advanced", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "Whether to merge 
protocol headers. If enabled then propagating headers between Camel and CXF 
becomes more consistent and similar. For more details see CAMEL-6393." },
     "mtomEnabled": { "kind": "parameter", "displayName": "Mtom Enabled", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "To enable MTOM (attachments). 
This requires to use POJO or PAYLOAD data format mode." },
     "properties": { "kind": "parameter", "displayName": "Properties", "group": 
"advanced", "label": "advanced", "required": false, "type": "object", 
"javaType": "java.util.Map<java.lang.String, java.lang.Object>", "prefix": 
"properties.", "multiValue": true, "deprecated": false, "autowired": false, 
"secret": false, "description": "To set additional CXF options using the 
key\/value pairs from the Map. For example to turn on stacktraces in SOAP 
faults, properties.faultStackTraceEnabled=true" },
+    "schemaValidationEnabled": { "kind": "parameter", "displayName": "Schema 
Validation Enabled", "group": "advanced", "label": "advanced", "required": 
false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "false", "description": 
"Enable schema validation for request and response. Disabled by default for 
performance reason" },
     "skipPayloadMessagePartCheck": { "kind": "parameter", "displayName": "Skip 
Payload Message Part Check", "group": "advanced", "label": "advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Sets whether SOAP message validation should be disabled." },
     "loggingFeatureEnabled": { "kind": "parameter", "displayName": "Logging 
Feature Enabled", "group": "logging", "label": "logging", "required": false, 
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": false, "description": "This option 
enables CXF Logging Feature which writes inbound and outbound SOAP messages to 
log." },
     "loggingSizeLimit": { "kind": "parameter", "displayName": "Logging Size 
Limit", "group": "logging", "label": "logging", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 49152, "description": "To limit the total size 
of number of bytes the logger will output when logging feature has been enabled 
and -1 for no limit." },
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfEndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfEndpointBuilderFactory.java
index 84e405b2505..a1cbaa803c5 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfEndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/CxfEndpointBuilderFactory.java
@@ -838,6 +838,41 @@ public interface CxfEndpointBuilderFactory {
             doSetMultiValueProperties("properties", "properties.", values);
             return this;
         }
+        /**
+         * Enable schema validation for request and response. Disabled by
+         * default for performance reason.
+         * 
+         * The option is a: &lt;code&gt;java.lang.Boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: advanced
+         * 
+         * @param schemaValidationEnabled the value to set
+         * @return the dsl builder
+         */
+        default AdvancedCxfEndpointConsumerBuilder schemaValidationEnabled(
+                Boolean schemaValidationEnabled) {
+            doSetProperty("schemaValidationEnabled", schemaValidationEnabled);
+            return this;
+        }
+        /**
+         * Enable schema validation for request and response. Disabled by
+         * default for performance reason.
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.lang.Boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: advanced
+         * 
+         * @param schemaValidationEnabled the value to set
+         * @return the dsl builder
+         */
+        default AdvancedCxfEndpointConsumerBuilder schemaValidationEnabled(
+                String schemaValidationEnabled) {
+            doSetProperty("schemaValidationEnabled", schemaValidationEnabled);
+            return this;
+        }
         /**
          * Sets whether SOAP message validation should be disabled.
          * 
@@ -1804,6 +1839,41 @@ public interface CxfEndpointBuilderFactory {
             doSetMultiValueProperties("properties", "properties.", values);
             return this;
         }
+        /**
+         * Enable schema validation for request and response. Disabled by
+         * default for performance reason.
+         * 
+         * The option is a: &lt;code&gt;java.lang.Boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: advanced
+         * 
+         * @param schemaValidationEnabled the value to set
+         * @return the dsl builder
+         */
+        default AdvancedCxfEndpointProducerBuilder schemaValidationEnabled(
+                Boolean schemaValidationEnabled) {
+            doSetProperty("schemaValidationEnabled", schemaValidationEnabled);
+            return this;
+        }
+        /**
+         * Enable schema validation for request and response. Disabled by
+         * default for performance reason.
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.lang.Boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: advanced
+         * 
+         * @param schemaValidationEnabled the value to set
+         * @return the dsl builder
+         */
+        default AdvancedCxfEndpointProducerBuilder schemaValidationEnabled(
+                String schemaValidationEnabled) {
+            doSetProperty("schemaValidationEnabled", schemaValidationEnabled);
+            return this;
+        }
         /**
          * Sets whether SOAP message validation should be disabled.
          * 
@@ -2518,6 +2588,41 @@ public interface CxfEndpointBuilderFactory {
             doSetMultiValueProperties("properties", "properties.", values);
             return this;
         }
+        /**
+         * Enable schema validation for request and response. Disabled by
+         * default for performance reason.
+         * 
+         * The option is a: &lt;code&gt;java.lang.Boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: advanced
+         * 
+         * @param schemaValidationEnabled the value to set
+         * @return the dsl builder
+         */
+        default AdvancedCxfEndpointBuilder schemaValidationEnabled(
+                Boolean schemaValidationEnabled) {
+            doSetProperty("schemaValidationEnabled", schemaValidationEnabled);
+            return this;
+        }
+        /**
+         * Enable schema validation for request and response. Disabled by
+         * default for performance reason.
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.lang.Boolean&lt;/code&gt; type.
+         * 
+         * Default: false
+         * Group: advanced
+         * 
+         * @param schemaValidationEnabled the value to set
+         * @return the dsl builder
+         */
+        default AdvancedCxfEndpointBuilder schemaValidationEnabled(
+                String schemaValidationEnabled) {
+            doSetProperty("schemaValidationEnabled", schemaValidationEnabled);
+            return this;
+        }
         /**
          * Sets whether SOAP message validation should be disabled.
          * 

Reply via email to