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
commit c126788d08406a9e866c1d033ce3cb20933c1a29 Author: Claus Ibsen <[email protected]> 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/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 cc5fa2e..b096123 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 @@ -3052,71 +3052,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/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 413f98b..f6ab63f 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 @@ -3338,71 +3338,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; } /**
