You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2022/02/24 16:18:48 UTC
[camel] 06/06: CAMEL-17461: Migrate from commons-pool v1 to v2
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit a8e2fc084425499eb95b5d97ff56d0aabffa86a4
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Jan 10 16:15:35 2022 +0100
CAMEL-17461: Migrate from commons-pool v1 to v2
---
.../endpoint/dsl/NettyEndpointBuilderFactory.java | 56 +++++++++++-----------
.../dsl/NettyHttpEndpointBuilderFactory.java | 56 +++++++++++-----------
2 files changed, 56 insertions(+), 56 deletions(-)
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
index 0918801..c8358b0 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyEndpointBuilderFactory.java
@@ -3042,71 +3042,71 @@ public interface NettyEndpointBuilderFactory {
return this;
}
/**
- * 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.
+ * Sets the cap on the number of idle instances in the pool.
*
* The option is a: <code>int</code> type.
*
- * Default: -1
+ * Default: 100
* Group: producer (advanced)
*
- * @param producerPoolMaxActive the value to set
+ * @param producerPoolMaxIdle the value to set
* @return the dsl builder
*/
- default AdvancedNettyEndpointProducerBuilder producerPoolMaxActive(
- int producerPoolMaxActive) {
- doSetProperty("producerPoolMaxActive", producerPoolMaxActive);
+ default AdvancedNettyEndpointProducerBuilder producerPoolMaxIdle(
+ int producerPoolMaxIdle) {
+ doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
return this;
}
/**
- * 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.
+ * Sets the cap on the number of idle instances in the pool.
*
* The option will be converted to a <code>int</code> type.
*
- * Default: -1
+ * Default: 100
* Group: producer (advanced)
*
- * @param producerPoolMaxActive the value to set
+ * @param producerPoolMaxIdle the value to set
* @return the dsl builder
*/
- default AdvancedNettyEndpointProducerBuilder producerPoolMaxActive(
- String producerPoolMaxActive) {
- doSetProperty("producerPoolMaxActive", producerPoolMaxActive);
+ default AdvancedNettyEndpointProducerBuilder producerPoolMaxIdle(
+ String producerPoolMaxIdle) {
+ doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
return this;
}
/**
- * Sets the cap on the number of idle instances in the pool.
+ * 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.
*
* The option is a: <code>int</code> type.
*
- * Default: 100
+ * Default: -1
* Group: producer (advanced)
*
- * @param producerPoolMaxIdle the value to set
+ * @param producerPoolMaxTotal the value to set
* @return the dsl builder
*/
- default AdvancedNettyEndpointProducerBuilder producerPoolMaxIdle(
- int producerPoolMaxIdle) {
- doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
+ default AdvancedNettyEndpointProducerBuilder producerPoolMaxTotal(
+ int producerPoolMaxTotal) {
+ doSetProperty("producerPoolMaxTotal", producerPoolMaxTotal);
return this;
}
/**
- * Sets the cap on the number of idle instances in the pool.
+ * 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.
*
* The option will be converted to a <code>int</code> type.
*
- * Default: 100
+ * Default: -1
* Group: producer (advanced)
*
- * @param producerPoolMaxIdle the value to set
+ * @param producerPoolMaxTotal the value to set
* @return the dsl builder
*/
- default AdvancedNettyEndpointProducerBuilder producerPoolMaxIdle(
- String producerPoolMaxIdle) {
- doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
+ default AdvancedNettyEndpointProducerBuilder producerPoolMaxTotal(
+ String producerPoolMaxTotal) {
+ doSetProperty("producerPoolMaxTotal", producerPoolMaxTotal);
return this;
}
/**
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
index 4fba926..2f52265 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NettyHttpEndpointBuilderFactory.java
@@ -3332,71 +3332,71 @@ public interface NettyHttpEndpointBuilderFactory {
return this;
}
/**
- * 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.
+ * Sets the cap on the number of idle instances in the pool.
*
* The option is a: <code>int</code> type.
*
- * Default: -1
+ * Default: 100
* Group: producer (advanced)
*
- * @param producerPoolMaxActive the value to set
+ * @param producerPoolMaxIdle the value to set
* @return the dsl builder
*/
- default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxActive(
- int producerPoolMaxActive) {
- doSetProperty("producerPoolMaxActive", producerPoolMaxActive);
+ default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxIdle(
+ int producerPoolMaxIdle) {
+ doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
return this;
}
/**
- * 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.
+ * Sets the cap on the number of idle instances in the pool.
*
* The option will be converted to a <code>int</code> type.
*
- * Default: -1
+ * Default: 100
* Group: producer (advanced)
*
- * @param producerPoolMaxActive the value to set
+ * @param producerPoolMaxIdle the value to set
* @return the dsl builder
*/
- default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxActive(
- String producerPoolMaxActive) {
- doSetProperty("producerPoolMaxActive", producerPoolMaxActive);
+ default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxIdle(
+ String producerPoolMaxIdle) {
+ doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
return this;
}
/**
- * Sets the cap on the number of idle instances in the pool.
+ * 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.
*
* The option is a: <code>int</code> type.
*
- * Default: 100
+ * Default: -1
* Group: producer (advanced)
*
- * @param producerPoolMaxIdle the value to set
+ * @param producerPoolMaxTotal the value to set
* @return the dsl builder
*/
- default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxIdle(
- int producerPoolMaxIdle) {
- doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
+ default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxTotal(
+ int producerPoolMaxTotal) {
+ doSetProperty("producerPoolMaxTotal", producerPoolMaxTotal);
return this;
}
/**
- * Sets the cap on the number of idle instances in the pool.
+ * 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.
*
* The option will be converted to a <code>int</code> type.
*
- * Default: 100
+ * Default: -1
* Group: producer (advanced)
*
- * @param producerPoolMaxIdle the value to set
+ * @param producerPoolMaxTotal the value to set
* @return the dsl builder
*/
- default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxIdle(
- String producerPoolMaxIdle) {
- doSetProperty("producerPoolMaxIdle", producerPoolMaxIdle);
+ default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxTotal(
+ String producerPoolMaxTotal) {
+ doSetProperty("producerPoolMaxTotal", producerPoolMaxTotal);
return this;
}
/**