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-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new b2f9c1d00d0 Regen
b2f9c1d00d0 is described below

commit b2f9c1d00d0f46e6e0e8a00f1d88428d627b39aa
Author: Claus Ibsen <[email protected]>
AuthorDate: Mon Sep 19 09:33:05 2022 +0200

    Regen
---
 .../catalog/components/elasticsearch-rest.json     |  2 +-
 .../camel/springboot/catalog/components/mllp.json  |  4 ++++
 .../src/main/docs/elasticsearch-rest.json          |  2 +-
 .../ElasticsearchComponentConfiguration.java       |  2 +-
 .../camel-mllp-starter/src/main/docs/mllp.json     | 14 +++++++++++++
 .../springboot/MllpComponentConfiguration.java     | 24 ++++++++++++++++++++++
 6 files changed, 45 insertions(+), 3 deletions(-)

diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest.json
index c40658fd660..4136cc13142 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/elasticsearch-rest.json
@@ -28,7 +28,7 @@
     "maxRetryTimeout": { "kind": "property", "displayName": "Max Retry 
Timeout", "group": "producer", "label": "", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 30000, "description": "The time in ms before 
retry" },
     "socketTimeout": { "kind": "property", "displayName": "Socket Timeout", 
"group": "producer", "label": "", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 30000, "description": "The timeout in ms to wait before the 
socket will timeout." },
     "autowiredEnabled": { "kind": "property", "displayName": "Autowired 
Enabled", "group": "advanced", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether autowiring is 
enabled. This is used for automatic autowiring options (the option must be 
marked as autowired) by looking up in the registry to find if there is a single 
instance of matching type, which t [...]
-    "client": { "kind": "property", "displayName": "Client", "group": 
"advanced", "label": "advanced", "required": false, "type": "object", 
"javaType": "org.elasticsearch.client.RestClient", "deprecated": false, 
"autowired": true, "secret": false, "description": "To use an existing 
configured Elasticsearch client, instead of creating a client per endpoint. 
This allow to customize the client with specific settings." },
+    "client": { "kind": "property", "displayName": "Client", "group": 
"advanced", "label": "advanced", "required": false, "type": "object", 
"javaType": "org.elasticsearch.client.RestClient", "deprecated": false, 
"autowired": true, "secret": false, "description": "To use an existing 
configured Elasticsearch client, instead of creating a client per endpoint. 
This allows to customize the client with specific settings." },
     "enableSniffer": { "kind": "property", "displayName": "Enable Sniffer", 
"group": "advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "autowired": false, "secret": 
false, "defaultValue": false, "description": "Enable automatically discover 
nodes from a running Elasticsearch cluster. If this option is used in 
conjunction with Spring Boot then it's managed by the Spring Boot configuration 
(see: Disable Sniffer in Spring Boot)." },
     "sniffAfterFailureDelay": { "kind": "property", "displayName": "Sniff 
After Failure Delay", "group": "advanced", "label": "advanced", "required": 
false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": 60000, "description": "The delay of a 
sniff execution scheduled after a failure (in milliseconds)" },
     "snifferInterval": { "kind": "property", "displayName": "Sniffer 
Interval", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "int", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": 300000, "description": "The interval between 
consecutive ordinary sniff executions in milliseconds. Will be honoured when 
sniffOnFailure is disabled or when there are no failures between consecutive 
sniff executions" },
diff --git 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mllp.json
 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mllp.json
index 7dd68d2da96..e8ca9d5df2d 100644
--- 
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mllp.json
+++ 
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/mllp.json
@@ -47,6 +47,8 @@
     "defaultCharset": { "kind": "property", "displayName": "Default Charset", 
"group": "advanced", "label": "advanced", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "ISO-8859-1", "description": "Set the default 
character set to use for byte to\/from String conversions." },
     "logPhi": { "kind": "property", "displayName": "Log Phi", "group": 
"advanced", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "true", "description": "Whether to log PHI" },
     "logPhiMaxBytes": { "kind": "property", "displayName": "Log Phi Max 
Bytes", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "5120", "description": "Set the maximum 
number of bytes of PHI that will be logged in a log entry." },
+    "maxBufferSize": { "kind": "property", "displayName": "Max Buffer Size", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1073741824, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Maximum buffer size used when receiving or 
sending data over the wire." },
+    "minBufferSize": { "kind": "property", "displayName": "Min Buffer Size", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 2048, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Minimum buffer size used when receiving or 
sending data over the wire." },
     "readTimeout": { "kind": "property", "displayName": "Read Timeout", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 5000, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "The SO_TIMEOUT value (in milliseconds) used 
after the start of an MLLP frame has been received" },
     "receiveBufferSize": { "kind": "property", "displayName": "Receive Buffer 
Size", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "8192", "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Sets the SO_RCVBUF option to the specified 
value (in bytes)" },
     "receiveTimeout": { "kind": "property", "displayName": "Receive Timeout", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 15000, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "The SO_TIMEOUT value (in milliseconds) used 
when waiting for the start of an MLLP frame" },
@@ -97,6 +99,8 @@
     "keepAlive": { "kind": "parameter", "displayName": "Keep Alive", "group": 
"producer", "label": "advanced,producer", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": "true", "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Enable\/disable the SO_KEEPALIVE socket 
option." },
     "tcpNoDelay": { "kind": "parameter", "displayName": "Tcp No Delay", 
"group": "producer", "label": "advanced,producer", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "true", "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Enable\/disable the TCP_NODELAY socket 
option." },
     "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start 
Producer", "group": "producer (advanced)", "label": "producer,advanced", 
"required": false, "type": "boolean", "javaType": "boolean", "deprecated": 
false, "autowired": false, "secret": false, "defaultValue": false, 
"description": "Whether the producer should be started lazy (on the first 
message). By starting lazy you can use this to allow CamelContext and routes to 
startup in situations where a producer may other [...]
+    "maxBufferSize": { "kind": "parameter", "displayName": "Max Buffer Size", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 1073741824, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Maximum buffer size used when receiving or 
sending data over the wire." },
+    "minBufferSize": { "kind": "parameter", "displayName": "Min Buffer Size", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 2048, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Minimum buffer size used when receiving or 
sending data over the wire." },
     "readTimeout": { "kind": "parameter", "displayName": "Read Timeout", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 5000, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "The SO_TIMEOUT value (in milliseconds) used 
after the start of an MLLP frame has been received" },
     "receiveBufferSize": { "kind": "parameter", "displayName": "Receive Buffer 
Size", "group": "advanced", "label": "advanced", "required": false, "type": 
"integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": "8192", "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "Sets the SO_RCVBUF option to the specified 
value (in bytes)" },
     "receiveTimeout": { "kind": "parameter", "displayName": "Receive Timeout", 
"group": "advanced", "label": "advanced", "required": false, "type": "integer", 
"javaType": "int", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": 15000, "configurationClass": 
"org.apache.camel.component.mllp.MllpConfiguration", "configurationField": 
"configuration", "description": "The SO_TIMEOUT value (in milliseconds) used 
when waiting for the start of an MLLP frame" },
diff --git 
a/components-starter/camel-elasticsearch-rest-starter/src/main/docs/elasticsearch-rest.json
 
b/components-starter/camel-elasticsearch-rest-starter/src/main/docs/elasticsearch-rest.json
index dd245f3fb4e..2e4dce7905b 100644
--- 
a/components-starter/camel-elasticsearch-rest-starter/src/main/docs/elasticsearch-rest.json
+++ 
b/components-starter/camel-elasticsearch-rest-starter/src/main/docs/elasticsearch-rest.json
@@ -23,7 +23,7 @@
     {
       "name": "camel.component.elasticsearch-rest.client",
       "type": "org.elasticsearch.client.RestClient",
-      "description": "To use an existing configured Elasticsearch client, 
instead of creating a client per endpoint. This allow to customize the client 
with specific settings. The option is a org.elasticsearch.client.RestClient 
type.",
+      "description": "To use an existing configured Elasticsearch client, 
instead of creating a client per endpoint. This allows to customize the client 
with specific settings. The option is a org.elasticsearch.client.RestClient 
type.",
       "sourceType": 
"org.apache.camel.component.elasticsearch.springboot.ElasticsearchComponentConfiguration"
     },
     {
diff --git 
a/components-starter/camel-elasticsearch-rest-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
 
b/components-starter/camel-elasticsearch-rest-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
index 8281bfb4c9e..0c5a92cc4f6 100644
--- 
a/components-starter/camel-elasticsearch-rest-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
+++ 
b/components-starter/camel-elasticsearch-rest-starter/src/main/java/org/apache/camel/component/elasticsearch/springboot/ElasticsearchComponentConfiguration.java
@@ -77,7 +77,7 @@ public class ElasticsearchComponentConfiguration
     private Boolean autowiredEnabled = true;
     /**
      * To use an existing configured Elasticsearch client, instead of creating 
a
-     * client per endpoint. This allow to customize the client with specific
+     * client per endpoint. This allows to customize the client with specific
      * settings. The option is a org.elasticsearch.client.RestClient type.
      */
     private RestClient client;
diff --git a/components-starter/camel-mllp-starter/src/main/docs/mllp.json 
b/components-starter/camel-mllp-starter/src/main/docs/mllp.json
index 4821de9d45f..5c5f93eb082 100644
--- a/components-starter/camel-mllp-starter/src/main/docs/mllp.json
+++ b/components-starter/camel-mllp-starter/src/main/docs/mllp.json
@@ -159,6 +159,13 @@
       "sourceType": 
"org.apache.camel.component.mllp.springboot.MllpComponentConfiguration",
       "defaultValue": 5120
     },
+    {
+      "name": "camel.component.mllp.max-buffer-size",
+      "type": "java.lang.Integer",
+      "description": "Maximum buffer size used when receiving or sending data 
over the wire.",
+      "sourceType": 
"org.apache.camel.component.mllp.springboot.MllpComponentConfiguration",
+      "defaultValue": 1073741824
+    },
     {
       "name": "camel.component.mllp.max-concurrent-consumers",
       "type": "java.lang.Integer",
@@ -166,6 +173,13 @@
       "sourceType": 
"org.apache.camel.component.mllp.springboot.MllpComponentConfiguration",
       "defaultValue": 5
     },
+    {
+      "name": "camel.component.mllp.min-buffer-size",
+      "type": "java.lang.Integer",
+      "description": "Minimum buffer size used when receiving or sending data 
over the wire.",
+      "sourceType": 
"org.apache.camel.component.mllp.springboot.MllpComponentConfiguration",
+      "defaultValue": 2048
+    },
     {
       "name": "camel.component.mllp.read-timeout",
       "type": "java.lang.Integer",
diff --git 
a/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java
 
b/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java
index 7083419a800..378edbae2c8 100644
--- 
a/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java
+++ 
b/components-starter/camel-mllp-starter/src/main/java/org/apache/camel/component/mllp/springboot/MllpComponentConfiguration.java
@@ -187,6 +187,14 @@ public class MllpComponentConfiguration
      * entry.
      */
     private Integer logPhiMaxBytes = 5120;
+    /**
+     * Maximum buffer size used when receiving or sending data over the wire.
+     */
+    private Integer maxBufferSize = 1073741824;
+    /**
+     * Minimum buffer size used when receiving or sending data over the wire.
+     */
+    private Integer minBufferSize = 2048;
     /**
      * The SO_TIMEOUT value (in milliseconds) used after the start of an MLLP
      * frame has been received
@@ -413,6 +421,22 @@ public class MllpComponentConfiguration
         this.logPhiMaxBytes = logPhiMaxBytes;
     }
 
+    public Integer getMaxBufferSize() {
+        return maxBufferSize;
+    }
+
+    public void setMaxBufferSize(Integer maxBufferSize) {
+        this.maxBufferSize = maxBufferSize;
+    }
+
+    public Integer getMinBufferSize() {
+        return minBufferSize;
+    }
+
+    public void setMinBufferSize(Integer minBufferSize) {
+        this.minBufferSize = minBufferSize;
+    }
+
     public Integer getReadTimeout() {
         return readTimeout;
     }

Reply via email to