You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/10/14 11:29:40 UTC
[camel] 03/03: Regen
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5f48eaf22d30ecc3f0068e5604d45f0b167a5ecc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Oct 14 13:28:59 2021 +0200
Regen
---
.../camel/catalog/components/aws-secrets-manager.json | 2 +-
.../org/apache/camel/catalog/schemas/camel-spring.xsd | 18 +++++++++---------
.../camel/builder/endpoint/EndpointBuilderFactory.java | 13 ++++++++++---
3 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-secrets-manager.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-secrets-manager.json
index 7b2b060..bbc3980 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-secrets-manager.json
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-secrets-manager.json
@@ -14,7 +14,7 @@
"version": "3.13.0-SNAPSHOT",
"scheme": "aws-secrets-manager",
"extendsScheme": "",
- "syntax": "aws-secrets-manager:\/\/label",
+ "syntax": "aws-secrets-manager:label",
"async": false,
"api": false,
"consumerOnly": false,
diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
index 75973ff..3ef0c30 100644
--- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
+++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd
@@ -3213,7 +3213,7 @@ Interval in millis that is used by the background task that checks for timeouts
( org.apache.camel.TimeoutMap ). By default the timeout checker runs every
second. The timeout is an approximation and there is no guarantee that the a
timeout is triggered exactly after the timeout value. It is not recommended to
-use very low timeout values or checker intervals. Default value: 1000
+use very low timeout values or checker intervals. Default value: 1s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -3378,7 +3378,7 @@ Sets the maximum number of retries.
<xs:attribute name="retryDelay" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
-Sets the delay in millis between retries. Default value: 50
+Sets the delay in millis between retries. Default value: 50ms
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -3386,7 +3386,7 @@ Sets the delay in millis between retries. Default value: 50
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Sets the upper value of retry in millis between retries, when using exponential
-or random backoff. Default value: 1000
+or random backoff. Default value: 1s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -4309,7 +4309,7 @@ breaker options are not in use.
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Control how long the circuit breaker stays open. The default is 5 seconds.
-Default value: 5000
+Default value: 5s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -4351,7 +4351,7 @@ Default value: false
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Configures the thread execution timeout. Default value is 1 second. Default
-value: 1000
+value: 1s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -10406,7 +10406,7 @@ value: 100
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Sets the timeout for collecting elements to be re-ordered. The default timeout
-is 1000 msec. Default value: 1000
+is 1000 msec. Default value: 1s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -10454,7 +10454,7 @@ Sets the capacity of the resequencer inbound queue. Default value: 1000
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Sets minimum time (milliseconds) to wait for missing elements (messages).
-Default value: 1000
+Default value: 1s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -10462,7 +10462,7 @@ Default value: 1000
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Sets the interval in milliseconds the stream resequencer will at most wait while
-waiting for condition of being able to deliver. Default value: 1000
+waiting for condition of being able to deliver. Default value: 1s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
@@ -11135,7 +11135,7 @@ use.
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
Sets the sample period during which only a single Exchange will pass through.
-Default value: 1000
+Default value: 1s
]]></xs:documentation>
</xs:annotation>
</xs:attribute>
diff --git a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
index c447925..dd07f1a 100644
--- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/EndpointBuilderFactory.java
@@ -373,14 +373,21 @@ public interface EndpointBuilderFactory
default org.apache.camel.Expression endpoints(
org.apache.camel.builder.EndpointProducerBuilder... endpoints) {
return new org.apache.camel.support.ExpressionAdapter() {
- List<org.apache.camel.Expression> expressions = Stream.of(endpoints)
- .map(org.apache.camel.builder.EndpointProducerBuilder::expr)
- .collect(Collectors.toList());
+
+ private List<org.apache.camel.Expression> expressions = null;
@Override
public Object evaluate(org.apache.camel.Exchange exchange) {
return expressions.stream().map(e -> e.evaluate(exchange, Object.class)).collect(Collectors.toList());
}
+
+ @Override
+ public void init(org.apache.camel.CamelContext context) {
+ super.init(context);
+ expressions = Stream.of(endpoints)
+ .map(epb -> epb.expr(context))
+ .collect(Collectors.toList());
+ }
};
}
}