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 0fee9510e1e Regen
0fee9510e1e is described below

commit 0fee9510e1eb79cd68892214e087874b411eb165
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Wed Jan 18 13:52:16 2023 +0100

    Regen
---
 .../org/apache/camel/catalog/components/as2.json   |   4 +
 .../endpoint/dsl/AS2EndpointBuilderFactory.java    | 407 +++++++++++++++++++++
 2 files changed, 411 insertions(+)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
index eb38c8e73c3..9c9f6756db1 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/as2.json
@@ -46,6 +46,10 @@
     "encryptingAlgorithm": { "kind": "parameter", "displayName": "Encrypting 
Algorithm", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": 
"org.apache.camel.component.as2.api.AS2EncryptionAlgorithm", "enum": [ 
"AES128_CBC", "AES192_CBC", "AES256_CBC", "AES128_CCM", "AES192_CCM", 
"AES256_CCM", "AES128_GCM", "AES192_GCM", "AES256_GCM", "CAMELLIA128_CBC", 
"CAMELLIA192_CBC", "CAMELLIA256_CBC", "CAST5_CBC", "DES_CBC", "DES_EDE3_CBC", 
"GOST28147_GCFB", "IDEA_CBC" [...]
     "encryptingCertificateChain": { "kind": "parameter", "displayName": 
"Encrypting Certificate Chain", "group": "common", "label": "", "required": 
false, "type": "object", "javaType": "java.security.cert.Certificate[]", 
"deprecated": false, "autowired": false, "secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The chain of certificates used to encrypt EDI 
message." },
     "from": { "kind": "parameter", "displayName": "From", "group": "common", 
"label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"configurationClass": "org.apache.camel.component.as2.AS2Configuration", 
"configurationField": "configuration", "description": "The value of the From 
header of AS2 message." },
+    "httpConnectionPoolSize": { "kind": "parameter", "displayName": "Http 
Connection Pool Size", "group": "common", "label": "", "required": false, 
"type": "integer", "javaType": "java.lang.Integer", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "5", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The maximum size of the connection pool for 
http connections (client only)" },
+    "httpConnectionPoolTtl": { "kind": "parameter", "displayName": "Http 
Connection Pool Ttl", "group": "common", "label": "", "required": false, 
"type": "object", "javaType": "java.time.Duration", "deprecated": false, 
"autowired": false, "secret": false, "defaultValue": "15m", 
"configurationClass": "org.apache.camel.component.as2.AS2Configuration", 
"configurationField": "configuration", "description": "The time to live for 
connections in the connection pool (client only)" },
+    "httpConnectionTimeout": { "kind": "parameter", "displayName": "Http 
Connection Timeout", "group": "common", "label": "", "required": false, "type": 
"object", "javaType": "java.time.Duration", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "5s", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The timeout of the http connection (client 
only)" },
+    "httpSocketTimeout": { "kind": "parameter", "displayName": "Http Socket 
Timeout", "group": "common", "label": "", "required": false, "type": "object", 
"javaType": "java.time.Duration", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "5s", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The timeout of the underlying http socket 
(client only)" },
     "inBody": { "kind": "parameter", "displayName": "In Body", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the name of a parameter to be passed in the exchange In 
Body" },
     "mdnMessageTemplate": { "kind": "parameter", "displayName": "Mdn Message 
Template", "group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The template used to format MDN message" },
     "requestUri": { "kind": "parameter", "displayName": "Request Uri", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "\/", "configurationClass": 
"org.apache.camel.component.as2.AS2Configuration", "configurationField": 
"configuration", "description": "The request URI of EDI message." },
diff --git 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
index b5204728028..7173e8dd63f 100644
--- 
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
+++ 
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AS2EndpointBuilderFactory.java
@@ -360,6 +360,142 @@ public interface AS2EndpointBuilderFactory {
             doSetProperty("from", from);
             return this;
         }
+        /**
+         * The maximum size of the connection pool for http connections (client
+         * only).
+         * 
+         * The option is a: &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
+         * 
+         * Default: 5
+         * Group: common
+         * 
+         * @param httpConnectionPoolSize the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpConnectionPoolSize(
+                Integer httpConnectionPoolSize) {
+            doSetProperty("httpConnectionPoolSize", httpConnectionPoolSize);
+            return this;
+        }
+        /**
+         * The maximum size of the connection pool for http connections (client
+         * only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
+         * 
+         * Default: 5
+         * Group: common
+         * 
+         * @param httpConnectionPoolSize the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpConnectionPoolSize(
+                String httpConnectionPoolSize) {
+            doSetProperty("httpConnectionPoolSize", httpConnectionPoolSize);
+            return this;
+        }
+        /**
+         * The time to live for connections in the connection pool (client
+         * only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 15m
+         * Group: common
+         * 
+         * @param httpConnectionPoolTtl the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpConnectionPoolTtl(
+                java.time.Duration httpConnectionPoolTtl) {
+            doSetProperty("httpConnectionPoolTtl", httpConnectionPoolTtl);
+            return this;
+        }
+        /**
+         * The time to live for connections in the connection pool (client
+         * only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 15m
+         * Group: common
+         * 
+         * @param httpConnectionPoolTtl the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpConnectionPoolTtl(
+                String httpConnectionPoolTtl) {
+            doSetProperty("httpConnectionPoolTtl", httpConnectionPoolTtl);
+            return this;
+        }
+        /**
+         * The timeout of the http connection (client only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpConnectionTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpConnectionTimeout(
+                java.time.Duration httpConnectionTimeout) {
+            doSetProperty("httpConnectionTimeout", httpConnectionTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the http connection (client only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpConnectionTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpConnectionTimeout(
+                String httpConnectionTimeout) {
+            doSetProperty("httpConnectionTimeout", httpConnectionTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the underlying http socket (client only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpSocketTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpSocketTimeout(
+                java.time.Duration httpSocketTimeout) {
+            doSetProperty("httpSocketTimeout", httpSocketTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the underlying http socket (client only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpSocketTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointConsumerBuilder httpSocketTimeout(
+                String httpSocketTimeout) {
+            doSetProperty("httpSocketTimeout", httpSocketTimeout);
+            return this;
+        }
         /**
          * Sets the name of a parameter to be passed in the exchange In Body.
          * 
@@ -1082,6 +1218,142 @@ public interface AS2EndpointBuilderFactory {
             doSetProperty("from", from);
             return this;
         }
+        /**
+         * The maximum size of the connection pool for http connections (client
+         * only).
+         * 
+         * The option is a: &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
+         * 
+         * Default: 5
+         * Group: common
+         * 
+         * @param httpConnectionPoolSize the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpConnectionPoolSize(
+                Integer httpConnectionPoolSize) {
+            doSetProperty("httpConnectionPoolSize", httpConnectionPoolSize);
+            return this;
+        }
+        /**
+         * The maximum size of the connection pool for http connections (client
+         * only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
+         * 
+         * Default: 5
+         * Group: common
+         * 
+         * @param httpConnectionPoolSize the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpConnectionPoolSize(
+                String httpConnectionPoolSize) {
+            doSetProperty("httpConnectionPoolSize", httpConnectionPoolSize);
+            return this;
+        }
+        /**
+         * The time to live for connections in the connection pool (client
+         * only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 15m
+         * Group: common
+         * 
+         * @param httpConnectionPoolTtl the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpConnectionPoolTtl(
+                java.time.Duration httpConnectionPoolTtl) {
+            doSetProperty("httpConnectionPoolTtl", httpConnectionPoolTtl);
+            return this;
+        }
+        /**
+         * The time to live for connections in the connection pool (client
+         * only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 15m
+         * Group: common
+         * 
+         * @param httpConnectionPoolTtl the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpConnectionPoolTtl(
+                String httpConnectionPoolTtl) {
+            doSetProperty("httpConnectionPoolTtl", httpConnectionPoolTtl);
+            return this;
+        }
+        /**
+         * The timeout of the http connection (client only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpConnectionTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpConnectionTimeout(
+                java.time.Duration httpConnectionTimeout) {
+            doSetProperty("httpConnectionTimeout", httpConnectionTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the http connection (client only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpConnectionTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpConnectionTimeout(
+                String httpConnectionTimeout) {
+            doSetProperty("httpConnectionTimeout", httpConnectionTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the underlying http socket (client only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpSocketTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpSocketTimeout(
+                java.time.Duration httpSocketTimeout) {
+            doSetProperty("httpSocketTimeout", httpSocketTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the underlying http socket (client only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpSocketTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointProducerBuilder httpSocketTimeout(
+                String httpSocketTimeout) {
+            doSetProperty("httpSocketTimeout", httpSocketTimeout);
+            return this;
+        }
         /**
          * Sets the name of a parameter to be passed in the exchange In Body.
          * 
@@ -1783,6 +2055,141 @@ public interface AS2EndpointBuilderFactory {
             doSetProperty("from", from);
             return this;
         }
+        /**
+         * The maximum size of the connection pool for http connections (client
+         * only).
+         * 
+         * The option is a: &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
+         * 
+         * Default: 5
+         * Group: common
+         * 
+         * @param httpConnectionPoolSize the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpConnectionPoolSize(
+                Integer httpConnectionPoolSize) {
+            doSetProperty("httpConnectionPoolSize", httpConnectionPoolSize);
+            return this;
+        }
+        /**
+         * The maximum size of the connection pool for http connections (client
+         * only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
+         * 
+         * Default: 5
+         * Group: common
+         * 
+         * @param httpConnectionPoolSize the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpConnectionPoolSize(
+                String httpConnectionPoolSize) {
+            doSetProperty("httpConnectionPoolSize", httpConnectionPoolSize);
+            return this;
+        }
+        /**
+         * The time to live for connections in the connection pool (client
+         * only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 15m
+         * Group: common
+         * 
+         * @param httpConnectionPoolTtl the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpConnectionPoolTtl(
+                java.time.Duration httpConnectionPoolTtl) {
+            doSetProperty("httpConnectionPoolTtl", httpConnectionPoolTtl);
+            return this;
+        }
+        /**
+         * The time to live for connections in the connection pool (client
+         * only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 15m
+         * Group: common
+         * 
+         * @param httpConnectionPoolTtl the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpConnectionPoolTtl(
+                String httpConnectionPoolTtl) {
+            doSetProperty("httpConnectionPoolTtl", httpConnectionPoolTtl);
+            return this;
+        }
+        /**
+         * The timeout of the http connection (client only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpConnectionTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpConnectionTimeout(
+                java.time.Duration httpConnectionTimeout) {
+            doSetProperty("httpConnectionTimeout", httpConnectionTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the http connection (client only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpConnectionTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpConnectionTimeout(
+                String httpConnectionTimeout) {
+            doSetProperty("httpConnectionTimeout", httpConnectionTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the underlying http socket (client only).
+         * 
+         * The option is a: &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpSocketTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpSocketTimeout(
+                java.time.Duration httpSocketTimeout) {
+            doSetProperty("httpSocketTimeout", httpSocketTimeout);
+            return this;
+        }
+        /**
+         * The timeout of the underlying http socket (client only).
+         * 
+         * The option will be converted to a
+         * &lt;code&gt;java.time.Duration&lt;/code&gt; type.
+         * 
+         * Default: 5s
+         * Group: common
+         * 
+         * @param httpSocketTimeout the value to set
+         * @return the dsl builder
+         */
+        default AS2EndpointBuilder httpSocketTimeout(String httpSocketTimeout) 
{
+            doSetProperty("httpSocketTimeout", httpSocketTimeout);
+            return this;
+        }
         /**
          * Sets the name of a parameter to be passed in the exchange In Body.
          * 

Reply via email to