This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.x by this push:
new 23c51c68385 Regen for commit d6ef5a5ee6ccd2ac8edb3eefc21ce8f916636311
23c51c68385 is described below
commit 23c51c68385fb622c47a83f759ce148749c0100c
Author: grgrzybek <[email protected]>
AuthorDate: Fri Jan 13 10:48:45 2023 +0000
Regen for commit d6ef5a5ee6ccd2ac8edb3eefc21ce8f916636311
Signed-off-by: GitHub <[email protected]>
---
camel-dependencies/pom.xml | 2 +-
.../builder/endpoint/StaticEndpointBuilders.java | 2 +
.../endpoint/dsl/GoraEndpointBuilderFactory.java | 3 +
.../endpoint/dsl/NettyEndpointBuilderFactory.java | 77 ++++++++++++++++++++++
.../dsl/NettyHttpEndpointBuilderFactory.java | 77 ++++++++++++++++++++++
5 files changed, 160 insertions(+), 1 deletion(-)
diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 89bab039e8b..a6f6aaf20e1 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -390,7 +390,7 @@
<maven-resources-plugin-version>3.2.0</maven-resources-plugin-version>
<maven-reporting-api-version>2.2.1</maven-reporting-api-version>
<maven-reporting-impl-version>2.0.5</maven-reporting-impl-version>
- <maven-resolver-version>1.8.2</maven-resolver-version>
+ <maven-resolver-version>1.9.2</maven-resolver-version>
<maven-shade-plugin-version>3.4.1</maven-shade-plugin-version>
<maven-shared-utils-plugin-version>3.3.4</maven-shared-utils-plugin-version>
<maven-surefire-report-plugin-version>3.0.0-M4</maven-surefire-report-plugin-version>
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 0f713ce7864..e6786f82cfc 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -5596,6 +5596,7 @@ public class StaticEndpointBuilders {
* @param path name
* @return the dsl builder
*/
+ @Deprecated
public static
org.apache.camel.builder.endpoint.dsl.GoraEndpointBuilderFactory.GoraEndpointBuilder
gora(
String path) {
return
org.apache.camel.builder.endpoint.dsl.GoraEndpointBuilderFactory.endpointBuilder("gora",
path);
@@ -5618,6 +5619,7 @@ public class StaticEndpointBuilders {
* @param path name
* @return the dsl builder
*/
+ @Deprecated
public static
org.apache.camel.builder.endpoint.dsl.GoraEndpointBuilderFactory.GoraEndpointBuilder
gora(
String componentName,
String path) {
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoraEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoraEndpointBuilderFactory.java
index aaa851c8f6d..c4b47f827b0 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoraEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoraEndpointBuilderFactory.java
@@ -898,6 +898,7 @@ public interface GoraEndpointBuilderFactory {
* @param path name
* @return the dsl builder
*/
+ @Deprecated
default GoraEndpointBuilder gora(String path) {
return GoraEndpointBuilderFactory.endpointBuilder("gora", path);
}
@@ -919,6 +920,7 @@ public interface GoraEndpointBuilderFactory {
* @param path name
* @return the dsl builder
*/
+ @Deprecated
default GoraEndpointBuilder gora(String componentName, String path) {
return GoraEndpointBuilderFactory.endpointBuilder(componentName,
path);
}
@@ -960,6 +962,7 @@ public interface GoraEndpointBuilderFactory {
return "goraOperation";
}
}
+ @Deprecated
static GoraEndpointBuilder endpointBuilder(String componentName, String
path) {
class GoraEndpointBuilderImpl extends AbstractEndpointBuilder
implements GoraEndpointBuilder, AdvancedGoraEndpointBuilder {
public GoraEndpointBuilderImpl(String path) {
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 4f223ff2985..aaad31850e7 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
@@ -2918,6 +2918,45 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("lazyStartProducer", lazyStartProducer);
return this;
}
+ /**
+ * Sets the value for the blockWhenExhausted configuration attribute.
It
+ * determines whether to block when the borrowObject() method is
invoked
+ * when the pool is exhausted (the maximum number of active objects has
+ * been reached).
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: true
+ * Group: producer (advanced)
+ *
+ * @param producerPoolBlockWhenExhausted the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyEndpointProducerBuilder
producerPoolBlockWhenExhausted(
+ boolean producerPoolBlockWhenExhausted) {
+ doSetProperty("producerPoolBlockWhenExhausted",
producerPoolBlockWhenExhausted);
+ return this;
+ }
+ /**
+ * Sets the value for the blockWhenExhausted configuration attribute.
It
+ * determines whether to block when the borrowObject() method is
invoked
+ * when the pool is exhausted (the maximum number of active objects has
+ * been reached).
+ *
+ * The option will be converted to a <code>boolean</code>
+ * type.
+ *
+ * Default: true
+ * Group: producer (advanced)
+ *
+ * @param producerPoolBlockWhenExhausted the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyEndpointProducerBuilder
producerPoolBlockWhenExhausted(
+ String producerPoolBlockWhenExhausted) {
+ doSetProperty("producerPoolBlockWhenExhausted",
producerPoolBlockWhenExhausted);
+ return this;
+ }
/**
* Whether producer pool is enabled or not. Important: If you turn this
* off then a single shared connection is used for the producer, also
if
@@ -3039,6 +3078,44 @@ public interface NettyEndpointBuilderFactory {
doSetProperty("producerPoolMaxTotal", producerPoolMaxTotal);
return this;
}
+ /**
+ * Sets the maximum duration (value in millis) the borrowObject()
method
+ * should block before throwing an exception when the pool is exhausted
+ * and producerPoolBlockWhenExhausted is true. When less than 0, the
+ * borrowObject() method may block indefinitely.
+ *
+ * The option is a: <code>long</code> type.
+ *
+ * Default: -1
+ * Group: producer (advanced)
+ *
+ * @param producerPoolMaxWait the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyEndpointProducerBuilder producerPoolMaxWait(
+ long producerPoolMaxWait) {
+ doSetProperty("producerPoolMaxWait", producerPoolMaxWait);
+ return this;
+ }
+ /**
+ * Sets the maximum duration (value in millis) the borrowObject()
method
+ * should block before throwing an exception when the pool is exhausted
+ * and producerPoolBlockWhenExhausted is true. When less than 0, the
+ * borrowObject() method may block indefinitely.
+ *
+ * The option will be converted to a <code>long</code>
type.
+ *
+ * Default: -1
+ * Group: producer (advanced)
+ *
+ * @param producerPoolMaxWait the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyEndpointProducerBuilder producerPoolMaxWait(
+ String producerPoolMaxWait) {
+ doSetProperty("producerPoolMaxWait", producerPoolMaxWait);
+ return this;
+ }
/**
* Sets the minimum amount of time (value in millis) an object may sit
* idle in the pool before it is eligible for eviction by the idle
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 2facbfa50dd..ae29944c301 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
@@ -3282,6 +3282,45 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("okStatusCodeRange", okStatusCodeRange);
return this;
}
+ /**
+ * Sets the value for the blockWhenExhausted configuration attribute.
It
+ * determines whether to block when the borrowObject() method is
invoked
+ * when the pool is exhausted (the maximum number of active objects has
+ * been reached).
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: true
+ * Group: producer (advanced)
+ *
+ * @param producerPoolBlockWhenExhausted the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyHttpEndpointProducerBuilder
producerPoolBlockWhenExhausted(
+ boolean producerPoolBlockWhenExhausted) {
+ doSetProperty("producerPoolBlockWhenExhausted",
producerPoolBlockWhenExhausted);
+ return this;
+ }
+ /**
+ * Sets the value for the blockWhenExhausted configuration attribute.
It
+ * determines whether to block when the borrowObject() method is
invoked
+ * when the pool is exhausted (the maximum number of active objects has
+ * been reached).
+ *
+ * The option will be converted to a <code>boolean</code>
+ * type.
+ *
+ * Default: true
+ * Group: producer (advanced)
+ *
+ * @param producerPoolBlockWhenExhausted the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyHttpEndpointProducerBuilder
producerPoolBlockWhenExhausted(
+ String producerPoolBlockWhenExhausted) {
+ doSetProperty("producerPoolBlockWhenExhausted",
producerPoolBlockWhenExhausted);
+ return this;
+ }
/**
* Whether producer pool is enabled or not. Important: If you turn this
* off then a single shared connection is used for the producer, also
if
@@ -3403,6 +3442,44 @@ public interface NettyHttpEndpointBuilderFactory {
doSetProperty("producerPoolMaxTotal", producerPoolMaxTotal);
return this;
}
+ /**
+ * Sets the maximum duration (value in millis) the borrowObject()
method
+ * should block before throwing an exception when the pool is exhausted
+ * and producerPoolBlockWhenExhausted is true. When less than 0, the
+ * borrowObject() method may block indefinitely.
+ *
+ * The option is a: <code>long</code> type.
+ *
+ * Default: -1
+ * Group: producer (advanced)
+ *
+ * @param producerPoolMaxWait the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxWait(
+ long producerPoolMaxWait) {
+ doSetProperty("producerPoolMaxWait", producerPoolMaxWait);
+ return this;
+ }
+ /**
+ * Sets the maximum duration (value in millis) the borrowObject()
method
+ * should block before throwing an exception when the pool is exhausted
+ * and producerPoolBlockWhenExhausted is true. When less than 0, the
+ * borrowObject() method may block indefinitely.
+ *
+ * The option will be converted to a <code>long</code>
type.
+ *
+ * Default: -1
+ * Group: producer (advanced)
+ *
+ * @param producerPoolMaxWait the value to set
+ * @return the dsl builder
+ */
+ default AdvancedNettyHttpEndpointProducerBuilder producerPoolMaxWait(
+ String producerPoolMaxWait) {
+ doSetProperty("producerPoolMaxWait", producerPoolMaxWait);
+ return this;
+ }
/**
* Sets the minimum amount of time (value in millis) an object may sit
* idle in the pool before it is eligible for eviction by the idle