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 c6e589fbc2b CAMEL-21435: camel-netty - Add doc about danger of setting
too low producer pool size.
c6e589fbc2b is described below
commit c6e589fbc2b4ae1593444507f4fa1f220c4362ed
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Nov 13 10:20:20 2024 +0100
CAMEL-21435: camel-netty - Add doc about danger of setting too low producer
pool size.
---
.../org/apache/camel/catalog/components/netty-http.json | 4 ++--
.../org/apache/camel/catalog/components/netty.json | 4 ++--
.../org/apache/camel/component/netty/http/netty-http.json | 4 ++--
.../META-INF/org/apache/camel/component/netty/netty.json | 4 ++--
.../apache/camel/component/netty/NettyConfiguration.java | 5 ++++-
.../component/dsl/NettyComponentBuilderFactory.java | 7 ++++++-
.../component/dsl/NettyHttpComponentBuilderFactory.java | 7 ++++++-
.../builder/endpoint/dsl/NettyEndpointBuilderFactory.java | 14 ++++++++++++--
.../endpoint/dsl/NettyHttpEndpointBuilderFactory.java | 14 ++++++++++++--
9 files changed, 48 insertions(+), 15 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
index 53007cab798..cf3a20e18c1 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty-http.json
@@ -60,7 +60,7 @@
"producerPoolBlockWhenExhausted": { "index": 32, "kind": "property",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the value for the blockWhe [...]
"producerPoolEnabled": { "index": 33, "kind": "property", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Whether producer pool is enabled or not.
Important: If [...]
"producerPoolMaxIdle": { "index": 34, "kind": "property", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in the pool." },
- "producerPoolMaxTotal": { "index": 35, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
+ "producerPoolMaxTotal": { "index": 35, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
"producerPoolMaxWait": { "index": 36, "kind": "property", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the borrowObjec [...]
"producerPoolMinEvictableIdle": { "index": 37, "kind": "property",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum amount of time (val [...]
"producerPoolMinIdle": { "index": 38, "kind": "property", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum number of instances allowed
in the producer pool before the evi [...]
@@ -181,7 +181,7 @@
"producerPoolBlockWhenExhausted": { "index": 46, "kind": "parameter",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the value for th
[...]
"producerPoolEnabled": { "index": 47, "kind": "parameter", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Whether producer pool is
enabled or not. Impo [...]
"producerPoolMaxIdle": { "index": 48, "kind": "parameter", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in t [...]
- "producerPoolMaxTotal": { "index": 49, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can b [...]
+ "producerPoolMaxTotal": { "index": 49, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can b [...]
"producerPoolMaxWait": { "index": 50, "kind": "parameter", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the b [...]
"producerPoolMinEvictableIdle": { "index": 51, "kind": "parameter",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the minimum amount
of [...]
"producerPoolMinIdle": { "index": 52, "kind": "parameter", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the minimum number
of instances allowed in the producer pool befo [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
index 0a9563739f2..6c8e754243b 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/netty.json
@@ -58,7 +58,7 @@
"producerPoolBlockWhenExhausted": { "index": 31, "kind": "property",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the value for the blockWhe [...]
"producerPoolEnabled": { "index": 32, "kind": "property", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Whether producer pool is enabled or not.
Important: If [...]
"producerPoolMaxIdle": { "index": 33, "kind": "property", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in the pool." },
- "producerPoolMaxTotal": { "index": 34, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
+ "producerPoolMaxTotal": { "index": 34, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
"producerPoolMaxWait": { "index": 35, "kind": "property", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the borrowObjec [...]
"producerPoolMinEvictableIdle": { "index": 36, "kind": "property",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum amount of time (val [...]
"producerPoolMinIdle": { "index": 37, "kind": "property", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum number of instances allowed
in the producer pool before the evi [...]
@@ -151,7 +151,7 @@
"producerPoolBlockWhenExhausted": { "index": 33, "kind": "parameter",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the value for the blockWh [...]
"producerPoolEnabled": { "index": 34, "kind": "parameter", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Whether producer pool is enabled or not.
Important: If [...]
"producerPoolMaxIdle": { "index": 35, "kind": "parameter", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in the pool." },
- "producerPoolMaxTotal": { "index": 36, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocat [...]
+ "producerPoolMaxTotal": { "index": 36, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocat [...]
"producerPoolMaxWait": { "index": 37, "kind": "parameter", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the borrowObje [...]
"producerPoolMinEvictableIdle": { "index": 38, "kind": "parameter",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum amount of time (va [...]
"producerPoolMinIdle": { "index": 39, "kind": "parameter", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum number of instances allowed
in the producer pool before the ev [...]
diff --git
a/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json
b/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json
index 53007cab798..cf3a20e18c1 100644
---
a/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json
+++
b/components/camel-netty-http/src/generated/resources/META-INF/org/apache/camel/component/netty/http/netty-http.json
@@ -60,7 +60,7 @@
"producerPoolBlockWhenExhausted": { "index": 32, "kind": "property",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the value for the blockWhe [...]
"producerPoolEnabled": { "index": 33, "kind": "property", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Whether producer pool is enabled or not.
Important: If [...]
"producerPoolMaxIdle": { "index": 34, "kind": "property", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in the pool." },
- "producerPoolMaxTotal": { "index": 35, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
+ "producerPoolMaxTotal": { "index": 35, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
"producerPoolMaxWait": { "index": 36, "kind": "property", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the borrowObjec [...]
"producerPoolMinEvictableIdle": { "index": 37, "kind": "property",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum amount of time (val [...]
"producerPoolMinIdle": { "index": 38, "kind": "property", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum number of instances allowed
in the producer pool before the evi [...]
@@ -181,7 +181,7 @@
"producerPoolBlockWhenExhausted": { "index": 46, "kind": "parameter",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the value for th
[...]
"producerPoolEnabled": { "index": 47, "kind": "parameter", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Whether producer pool is
enabled or not. Impo [...]
"producerPoolMaxIdle": { "index": 48, "kind": "parameter", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in t [...]
- "producerPoolMaxTotal": { "index": 49, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can b [...]
+ "producerPoolMaxTotal": { "index": 49, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can b [...]
"producerPoolMaxWait": { "index": 50, "kind": "parameter", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the b [...]
"producerPoolMinEvictableIdle": { "index": 51, "kind": "parameter",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the minimum amount
of [...]
"producerPoolMinIdle": { "index": 52, "kind": "parameter", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.http.NettyHttpConfiguration",
"configurationField": "configuration", "description": "Sets the minimum number
of instances allowed in the producer pool befo [...]
diff --git
a/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json
b/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json
index 0a9563739f2..6c8e754243b 100644
---
a/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json
+++
b/components/camel-netty/src/generated/resources/META-INF/org/apache/camel/component/netty/netty.json
@@ -58,7 +58,7 @@
"producerPoolBlockWhenExhausted": { "index": 31, "kind": "property",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the value for the blockWhe [...]
"producerPoolEnabled": { "index": 32, "kind": "property", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Whether producer pool is enabled or not.
Important: If [...]
"producerPoolMaxIdle": { "index": 33, "kind": "property", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in the pool." },
- "producerPoolMaxTotal": { "index": 34, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
+ "producerPoolMaxTotal": { "index": 34, "kind": "property", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocate [...]
"producerPoolMaxWait": { "index": 35, "kind": "property", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the borrowObjec [...]
"producerPoolMinEvictableIdle": { "index": 36, "kind": "property",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum amount of time (val [...]
"producerPoolMinIdle": { "index": 37, "kind": "property", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum number of instances allowed
in the producer pool before the evi [...]
@@ -151,7 +151,7 @@
"producerPoolBlockWhenExhausted": { "index": 33, "kind": "parameter",
"displayName": "Producer Pool Block When Exhausted", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the value for the blockWh [...]
"producerPoolEnabled": { "index": 34, "kind": "parameter", "displayName":
"Producer Pool Enabled", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": true, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Whether producer pool is enabled or not.
Important: If [...]
"producerPoolMaxIdle": { "index": 35, "kind": "parameter", "displayName":
"Producer Pool Max Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": 100,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of idle instances in the pool." },
- "producerPoolMaxTotal": { "index": 36, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocat [...]
+ "producerPoolMaxTotal": { "index": 36, "kind": "parameter", "displayName":
"Producer Pool Max Total", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the cap on the
number of objects that can be allocat [...]
"producerPoolMaxWait": { "index": 37, "kind": "parameter", "displayName":
"Producer Pool Max Wait", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "long",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": -1,
"configurationClass": "org.apache.camel.component.netty.NettyConfiguration",
"configurationField": "configuration", "description": "Sets the maximum
duration (value in millis) the borrowObje [...]
"producerPoolMinEvictableIdle": { "index": 38, "kind": "parameter",
"displayName": "Producer Pool Min Evictable Idle", "group": "producer
(advanced)", "label": "producer,advanced", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 300000, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum amount of time (va [...]
"producerPoolMinIdle": { "index": 39, "kind": "parameter", "displayName":
"Producer Pool Min Idle", "group": "producer (advanced)", "label":
"producer,advanced", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.netty.NettyConfiguration", "configurationField":
"configuration", "description": "Sets the minimum number of instances allowed
in the producer pool before the ev [...]
diff --git
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java
index ef6f6e6ade8..3c16d736ad5 100644
---
a/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java
+++
b/components/camel-netty/src/main/java/org/apache/camel/component/netty/NettyConfiguration.java
@@ -624,7 +624,10 @@ public class NettyConfiguration extends
NettyServerBootstrapConfiguration implem
/**
* Sets the cap on the number of objects that can be allocated by the pool
(checked out to clients, or idle awaiting
- * checkout) at a given time. Use a negative value for no limit.
+ * checkout) at a given time. Use a negative value for no limit. Be
careful to not set this value too low (such as
+ * 1) as the pool must have space to create a producer such as when
performing retries. Be mindful that the option
+ * producerPoolBlockWhenExhausted is default true, and the pool will then
block when there is no space, which can
+ * lead to the application to hang.
*/
public void setProducerPoolMaxTotal(int producerPoolMaxTotal) {
this.producerPoolMaxTotal = producerPoolMaxTotal;
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
index 81c96a4f6f7..42bab8b370e 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyComponentBuilderFactory.java
@@ -707,7 +707,12 @@ public interface NettyComponentBuilderFactory {
/**
* Sets the cap on the number of objects that can be allocated by the
* pool (checked out to clients, or idle awaiting checkout) at a given
- * time. Use a negative value for no limit.
+ * time. Use a negative value for no limit. Be careful to not set this
+ * value too low (such as 1) as the pool must have space to create a
+ * producer such as when performing retries. Be mindful that the option
+ * producerPoolBlockWhenExhausted is default true, and the pool will
+ * then block when there is no space, which can lead to the application
+ * to hang.
*
* The option is a: <code>int</code> type.
*
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
index 44e319dbe4b..0d3f153f344 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/NettyHttpComponentBuilderFactory.java
@@ -725,7 +725,12 @@ public interface NettyHttpComponentBuilderFactory {
/**
* Sets the cap on the number of objects that can be allocated by the
* pool (checked out to clients, or idle awaiting checkout) at a given
- * time. Use a negative value for no limit.
+ * time. Use a negative value for no limit. Be careful to not set this
+ * value too low (such as 1) as the pool must have space to create a
+ * producer such as when performing retries. Be mindful that the option
+ * producerPoolBlockWhenExhausted is default true, and the pool will
+ * then block when there is no space, which can lead to the application
+ * to hang.
*
* The option is a: <code>int</code> type.
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
index 7faf7895e01..995635cc9af 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
@@ -2916,7 +2916,12 @@ public interface NettyEndpointBuilderFactory {
/**
* Sets the cap on the number of objects that can be allocated by the
* pool (checked out to clients, or idle awaiting checkout) at a given
- * time. Use a negative value for no limit.
+ * time. Use a negative value for no limit. Be careful to not set this
+ * value too low (such as 1) as the pool must have space to create a
+ * producer such as when performing retries. Be mindful that the option
+ * producerPoolBlockWhenExhausted is default true, and the pool will
+ * then block when there is no space, which can lead to the application
+ * to hang.
*
* The option is a: <code>int</code> type.
*
@@ -2933,7 +2938,12 @@ public interface NettyEndpointBuilderFactory {
/**
* Sets the cap on the number of objects that can be allocated by the
* pool (checked out to clients, or idle awaiting checkout) at a given
- * time. Use a negative value for no limit.
+ * time. Use a negative value for no limit. Be careful to not set this
+ * value too low (such as 1) as the pool must have space to create a
+ * producer such as when performing retries. Be mindful that the option
+ * producerPoolBlockWhenExhausted is default true, and the pool will
+ * then block when there is no space, which can lead to the application
+ * to hang.
*
* The option will be converted to a <code>int</code> type.
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
index 712b531a7fa..f444a17c8bb 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
@@ -3233,7 +3233,12 @@ public interface NettyHttpEndpointBuilderFactory {
/**
* Sets the cap on the number of objects that can be allocated by the
* pool (checked out to clients, or idle awaiting checkout) at a given
- * time. Use a negative value for no limit.
+ * time. Use a negative value for no limit. Be careful to not set this
+ * value too low (such as 1) as the pool must have space to create a
+ * producer such as when performing retries. Be mindful that the option
+ * producerPoolBlockWhenExhausted is default true, and the pool will
+ * then block when there is no space, which can lead to the application
+ * to hang.
*
* The option is a: <code>int</code> type.
*
@@ -3250,7 +3255,12 @@ public interface NettyHttpEndpointBuilderFactory {
/**
* Sets the cap on the number of objects that can be allocated by the
* pool (checked out to clients, or idle awaiting checkout) at a given
- * time. Use a negative value for no limit.
+ * time. Use a negative value for no limit. Be careful to not set this
+ * value too low (such as 1) as the pool must have space to create a
+ * producer such as when performing retries. Be mindful that the option
+ * producerPoolBlockWhenExhausted is default true, and the pool will
+ * then block when there is no space, which can lead to the application
+ * to hang.
*
* The option will be converted to a <code>int</code> type.
*