You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/02/18 12:47:48 UTC
(camel-website) branch main updated (158d2942 -> 879d2972)
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
from 158d2942 Add 3.22 docs to website
new 25a16b77 Camel 4.4 is a LTS release
new 6f629a9a Move XSD in correct folder
new 879d2972 Update schema to 4.4.0 LTS release
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
content/releases/release-4.4.0.md | 1 +
.../camel-spring-4.4.0.xsd} | 0
static/schema/spring/camel-spring.xsd | 4267 ++++++++++++--------
3 files changed, 2488 insertions(+), 1780 deletions(-)
rename static/schema/{spring-xml/camel-spring-xml-4.4.0.xsd => spring/camel-spring-4.4.0.xsd} (100%)
(camel-website) 02/03: Move XSD in correct folder
Posted by da...@apache.org.
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-website.git
commit 6f629a9acd3baf29ad9e2e14a3ee7ca26fde113b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Feb 18 13:47:05 2024 +0100
Move XSD in correct folder
---
.../camel-spring-xml-4.4.0.xsd => spring/camel-spring-4.4.0.xsd} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/static/schema/spring-xml/camel-spring-xml-4.4.0.xsd b/static/schema/spring/camel-spring-4.4.0.xsd
similarity index 100%
rename from static/schema/spring-xml/camel-spring-xml-4.4.0.xsd
rename to static/schema/spring/camel-spring-4.4.0.xsd
(camel-website) 01/03: Camel 4.4 is a LTS release
Posted by da...@apache.org.
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-website.git
commit 25a16b773d94f5ef21b4bc8c1723f2ec77c7c9e7
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Feb 18 13:46:12 2024 +0100
Camel 4.4 is a LTS release
---
content/releases/release-4.4.0.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/content/releases/release-4.4.0.md b/content/releases/release-4.4.0.md
index 9422433f..ec87a65e 100644
--- a/content/releases/release-4.4.0.md
+++ b/content/releases/release-4.4.0.md
@@ -9,6 +9,7 @@ apiBreaking: ""
knownIssues: ""
jiraVersionId: 12353989
category: camel
+kind: lts
jdk: [17, 21]
---
(camel-website) 03/03: Update schema to 4.4.0 LTS release
Posted by da...@apache.org.
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-website.git
commit 879d29727dd7861d8f8ca6e85a66c6783a717a85
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Feb 18 13:47:38 2024 +0100
Update schema to 4.4.0 LTS release
---
static/schema/spring/camel-spring.xsd | 4267 +++++++++++++++++++--------------
1 file changed, 2487 insertions(+), 1780 deletions(-)
diff --git a/static/schema/spring/camel-spring.xsd b/static/schema/spring/camel-spring.xsd
index f24dfd10..bdf7a264 100644
--- a/static/schema/spring/camel-spring.xsd
+++ b/static/schema/spring/camel-spring.xsd
@@ -62,7 +62,7 @@ Rest security basic auth definition
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="batch-config" type="tns:batchResequencerConfig">
+ <xs:element name="batchConfig" type="tns:batchResequencerConfig">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
@@ -89,13 +89,11 @@ Spring specific DefaultCamelBeanPostProcessor which uses Spring BeanPostProcesso
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="beans" type="tns:beansDefinition">
+ <xs:element name="beanio" type="tns:beanioDataFormat">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-A grouping POJO (and related XML root element) that's historically associated with entire application (or its
-distinguished fragment). This class is not meant to be used with Camel Java DSL, but it's needed to generate XML Schema
-and MX parser methods.
+Marshal and unmarshal Java beans to and from flat files (such as CSV, delimited, or fixed length formats).
]]>
</xs:documentation>
</xs:annotation>
@@ -133,15 +131,6 @@ Deprecated: null
<xs:documentation xml:lang="en">
<![CDATA[
Deprecated: null
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element name="camel" type="tns:applicationDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-If beans reminds Spring application too much, we can use camel.
]]>
</xs:documentation>
</xs:annotation>
@@ -251,6 +240,24 @@ Scans for Java org.apache.camel.builder.RouteBuilder instances in the context or
<xs:documentation xml:lang="en">
<![CDATA[
Converts the message body to another type
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="convertHeaderTo" type="tns:convertHeaderDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Converts the message header to another type
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="convertVariableTo" type="tns:convertVariableDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Converts the variable to another type
]]>
</xs:documentation>
</xs:annotation>
@@ -439,7 +446,7 @@ Enriches a message with data from a secondary resource
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Error handler settings
+Camel error handling.
]]>
</xs:documentation>
</xs:annotation>
@@ -700,6 +707,15 @@ Intercepts messages being sent to an endpoint
<xs:documentation xml:lang="en">
<![CDATA[
Unmarshal an XML payloads to POJOs and back using XMLMapper extension of Jackson.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="java" type="tns:javaExpression">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Evaluates a Java (Java compiled once at runtime) expression.
]]>
</xs:documentation>
</xs:annotation>
@@ -726,7 +742,7 @@ JMX configuration.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Evaluates a jOOR (Java compiled once at runtime) expression.
+Deprecated: Evaluates a jOOR (Java compiled once at runtime) expression.
]]>
</xs:documentation>
</xs:annotation>
@@ -1281,6 +1297,15 @@ Removes message exchange properties whose name matches a specified pattern
<xs:documentation xml:lang="en">
<![CDATA[
Removes a named property from the message exchange
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="removeVariable" type="tns:removeVariableDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Removes a named variable
]]>
</xs:documentation>
</xs:annotation>
@@ -1687,6 +1712,15 @@ Sets the exchange pattern on the message exchange
<xs:documentation xml:lang="en">
<![CDATA[
Sets the value of a message header
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="setHeaders" type="tns:setHeadersDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Allows to set multiple headers on the message at the same time.
]]>
</xs:documentation>
</xs:annotation>
@@ -1696,6 +1730,15 @@ Sets the value of a message header
<xs:documentation xml:lang="en">
<![CDATA[
Sets a named property on the message exchange
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="setVariable" type="tns:setVariableDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the value of a variable
]]>
</xs:documentation>
</xs:annotation>
@@ -1799,20 +1842,20 @@ Stops the processing of the current message
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="stream-config" type="tns:streamResequencerConfig">
+ <xs:element name="streamCaching" type="tns:camelStreamCachingStrategyDefinition">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Configures stream-processing resequence eip.
+Stream caching configuration.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
- <xs:element name="streamCaching" type="tns:camelStreamCachingStrategyDefinition">
+ <xs:element name="streamConfig" type="tns:streamResequencerConfig">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Stream caching configuration.
+Configures stream-processing resequence eip.
]]>
</xs:documentation>
</xs:annotation>
@@ -2119,6 +2162,24 @@ To configure validators.
<xs:documentation xml:lang="en">
<![CDATA[
A single value
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="variable" type="tns:variableExpression">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Gets a variable
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="wasm" type="tns:wasmExpression">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Call a wasm (web assembly) function.
]]>
</xs:documentation>
</xs:annotation>
@@ -2299,7 +2360,7 @@ property.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Property key.
+The name of the property.
]]>
</xs:documentation>
</xs:annotation>
@@ -2308,7 +2369,7 @@ Property key.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Property value.
+The property value.
]]>
</xs:documentation>
</xs:annotation>
@@ -2809,6 +2870,15 @@ A flag that indicates whether to use hostname or IP Address in the service url.
<![CDATA[
A flag that indicates whether to remove detected sensitive information (such as passwords) from MBean names and
attributes. Default value: true
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="updateRouteEnabled" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets whether updating routes via JMX is allowed (is default disabled). Default value: false
]]>
</xs:documentation>
</xs:annotation>
@@ -3051,6 +3121,17 @@ value: 1.0
Whether to mark the route as unhealthy (down) when all restarting attempts (backoff) have failed and the route is not
successfully started and the route manager is giving up. Setting this to true allows health checks to know about this
and can report the Camel application as DOWN. Default value: false
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="unhealthyOnRestarting" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Whether to mark the route as unhealthy (down) when the route failed to initially start, and is being controlled for
+restarting (backoff). Setting this to true allows health checks to know about this and can report the Camel application
+as DOWN. Default value: false
]]>
</xs:documentation>
</xs:annotation>
@@ -3451,6 +3532,8 @@ will fallback to use the fixed value if the Expression result was null or 0.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -3478,6 +3561,7 @@ will fallback to use the fixed value if the Expression result was null or 0.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -3489,7 +3573,9 @@ will fallback to use the fixed value if the Expression result was null or 0.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -3760,6 +3846,7 @@ complete all those exchanges before its stopped, when stopping CamelContext or t
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -3773,6 +3860,8 @@ complete all those exchanges before its stopped, when stopping CamelContext or t
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -4007,6 +4096,8 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -4034,6 +4125,7 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -4045,7 +4137,9 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -4080,6 +4174,7 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -4093,6 +4188,8 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -4108,6 +4205,8 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -4135,6 +4234,7 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -4146,7 +4246,9 @@ controlling whether a thrown exception should be intercepted by this exception t
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -4203,6 +4305,8 @@ during startup to keep at runtime only the branch that matched. Default value: f
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -4230,6 +4334,7 @@ during startup to keep at runtime only the branch that matched. Default value: f
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -4241,7 +4346,9 @@ during startup to keep at runtime only the branch that matched. Default value: f
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -4281,6 +4388,8 @@ during startup to keep at runtime only the branch that matched. Default value: f
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -4308,6 +4417,7 @@ during startup to keep at runtime only the branch that matched. Default value: f
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -4319,7 +4429,9 @@ during startup to keep at runtime only the branch that matched. Default value: f
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -4726,6 +4838,8 @@ References to a custom thread pool to use when bulkhead is enabled.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -4753,6 +4867,7 @@ References to a custom thread pool to use when bulkhead is enabled.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -4764,7 +4879,9 @@ References to a custom thread pool to use when bulkhead is enabled.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -4927,6 +5044,120 @@ is null. Default value: true
<xs:documentation xml:lang="en">
<![CDATA[
To use a specific charset when converting.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="convertHeaderDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:noOutputDefinition">
+ <xs:sequence/>
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Name of message header to convert its value The simple language can be used to define a dynamic evaluated header name to
+be used. Otherwise a constant name will be used.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="type" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The java type to convert to.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="toName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use another header to store the result. By default, the result is stored in the same header. This option allows to
+use another header. The simple language can be used to define a dynamic evaluated header name to be used. Otherwise a
+constant name will be used.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="mandatory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+When mandatory then the conversion must return a value (cannot be null), if this is not possible then
+NoTypeConversionAvailableException is thrown. Setting this to false could mean conversion is not possible and the value
+is null. Default value: true
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="charset" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a specific charset when converting.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="convertVariableDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:noOutputDefinition">
+ <xs:sequence/>
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Name of variable to convert its value The simple language can be used to define a dynamic evaluated header name to be
+used. Otherwise a constant name will be used.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="type" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The java type to convert to.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="toName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use another variable to store the result. By default, the result is stored in the same variable. This option allows
+to use another variable. The simple language can be used to define a dynamic evaluated variable name to be used.
+Otherwise a constant name will be used.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="mandatory" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+When mandatory then the conversion must return a value (cannot be null), if this is not possible then
+NoTypeConversionAvailableException is thrown. Setting this to false could mean conversion is not possible and the value
+is null. Default value: true
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="charset" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a specific charset when converting.
]]>
</xs:documentation>
</xs:annotation>
@@ -4953,6 +5184,7 @@ To use a specific charset when converting.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -4966,6 +5198,8 @@ To use a specific charset when converting.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -5013,6 +5247,7 @@ To use a custom Thread Pool if asyncDelay has been enabled.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -5026,6 +5261,8 @@ To use a custom Thread Pool if asyncDelay has been enabled.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -5080,6 +5317,7 @@ reduce memory usage to avoid storing too many non frequent used producers.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -5093,10 +5331,34 @@ reduce memory usage to avoid storing too many non frequent used producers.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
</xs:choice>
+ <xs:attribute name="variableSend" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="variableReceive" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
<xs:attribute name="aggregationStrategy" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
@@ -5180,6 +5442,15 @@ Ignore the invalidate endpoint exception when try to create a producer with that
<xs:documentation xml:lang="en">
<![CDATA[
Whether to allow components to optimise enricher if they are org.apache.camel.spi.SendDynamicAware . Default value: true
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="autoStartComponents" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Whether to auto startup components when enricher is starting up. Default value: true
]]>
</xs:documentation>
</xs:annotation>
@@ -5687,6 +5958,7 @@ Sets the logging level to use for logging transactional rollback. This option is
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -5700,6 +5972,8 @@ Sets the logging level to use for logging transactional rollback. This option is
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -5715,6 +5989,8 @@ Sets the logging level to use for logging transactional rollback. This option is
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -5742,6 +6018,7 @@ Sets the logging level to use for logging transactional rollback. This option is
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -5753,7 +6030,9 @@ Sets the logging level to use for logging transactional rollback. This option is
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -5800,6 +6079,8 @@ predicate evaluated as true or false.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -5827,6 +6108,7 @@ predicate evaluated as true or false.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -5838,7 +6120,9 @@ predicate evaluated as true or false.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -5869,6 +6153,16 @@ predicate evaluated as true or false.
<xs:documentation xml:lang="en">
<![CDATA[
Sets the URI of the endpoint to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="variableReceive" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store a copy of the received message body (only body, not headers). This is handy for easy access
+to the received message body via variables.
]]>
</xs:documentation>
</xs:annotation>
@@ -5915,6 +6209,7 @@ Global option value.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -5928,6 +6223,8 @@ Global option value.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -5943,6 +6240,8 @@ Global option value.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -5970,6 +6269,7 @@ Global option value.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -5981,7 +6281,9 @@ Global option value.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -6098,6 +6400,8 @@ Whether if validation is required for this input type. Default value: false
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -6125,6 +6429,7 @@ Whether if validation is required for this input type. Default value: false
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -6136,7 +6441,9 @@ Whether if validation is required for this input type. Default value: false
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -6190,6 +6497,8 @@ intercepted.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -6217,6 +6526,7 @@ intercepted.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -6228,7 +6538,9 @@ intercepted.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -6293,6 +6605,8 @@ After sending to the endpoint then send the message to this uri which allows to
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -6320,6 +6634,7 @@ After sending to the endpoint then send the message to this uri which allows to
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -6331,7 +6646,9 @@ After sending to the endpoint then send the message to this uri which allows to
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -6387,6 +6704,8 @@ mynamecount=4&type=gold.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -6414,6 +6733,7 @@ mynamecount=4&type=gold.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -6425,7 +6745,9 @@ mynamecount=4&type=gold.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -6664,6 +6986,7 @@ To refer to a custom logger instance to lookup from the registry.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -6677,6 +7000,8 @@ To refer to a custom logger instance to lookup from the registry.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -6692,6 +7017,8 @@ To refer to a custom logger instance to lookup from the registry.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -6719,6 +7046,7 @@ To refer to a custom logger instance to lookup from the registry.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -6730,7 +7058,9 @@ To refer to a custom logger instance to lookup from the registry.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -6791,6 +7121,7 @@ down. Default value: false
<xs:element ref="tns:avro"/>
<xs:element ref="tns:barcode"/>
<xs:element ref="tns:base64"/>
+ <xs:element ref="tns:beanio"/>
<xs:element ref="tns:bindy"/>
<xs:element ref="tns:cbor"/>
<xs:element ref="tns:crypto"/>
@@ -6829,6 +7160,28 @@ down. Default value: false
<xs:element ref="tns:zipFile"/>
</xs:choice>
</xs:sequence>
+ <xs:attribute name="variableSend" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="variableReceive" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -7137,84 +7490,168 @@ seamlessly handles both modes. Is by default false. Default value: false
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="bindyDataFormat">
+ <xs:complexType name="beanioDataFormat">
<xs:complexContent>
<xs:extension base="tns:dataFormat">
<xs:sequence/>
- <xs:attribute name="type" type="xs:string" use="required">
+ <xs:attribute name="mapping" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to use Csv, Fixed, or KeyValue.
+The BeanIO mapping file. Is by default loaded from the classpath. You can prefix with file:, http:, or classpath: to
+denote from where to load the mapping file.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="classType" type="xs:string">
+ <xs:attribute name="streamName" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Name of model class to use.
+The name of the stream to use.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="allowEmptyStream" type="xs:string">
+ <xs:attribute name="ignoreUnidentifiedRecords" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without
-records is provided. Default value: false
+Whether to ignore unidentified records. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="unwrapSingleInstance" type="xs:string">
+ <xs:attribute name="ignoreUnexpectedRecords" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List. Default
-value: true
+Whether to ignore unexpected records. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="locale" type="xs:string">
+ <xs:attribute name="ignoreInvalidRecords" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the
-name default.
+Whether to ignore invalid records. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="cborDataFormat">
- <xs:complexContent>
- <xs:extension base="tns:dataFormat">
- <xs:sequence/>
- <xs:attribute name="objectMapper" type="xs:string">
+ <xs:attribute name="encoding" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Lookup and use the existing CBOR ObjectMapper with the given id when using Jackson.
+The charset to use. Is by default the JVM platform default charset.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="useDefaultObjectMapper" type="xs:string">
+ <xs:attribute name="beanReaderErrorHandlerType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to lookup and use default Jackson CBOR ObjectMapper from the registry. Default value: true
+To use a custom org.apache.camel.dataformat.beanio.BeanIOErrorHandler as error handler while parsing. Configure the
+fully qualified class name of the error handler. Notice the options ignoreUnidentifiedRecords, ignoreUnexpectedRecords,
+and ignoreInvalidRecords may not be in use when you use a custom error handler.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="unmarshalType" type="xs:string">
+ <xs:attribute name="unmarshalSingleObject" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+This options controls whether to unmarshal as a list of objects or as a single object only. The former is the default
+mode, and the latter is only intended in special use-cases where beanio maps the Camel message to a single POJO bean.
+Default value: false
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="bindyDataFormat">
+ <xs:complexContent>
+ <xs:extension base="tns:dataFormat">
+ <xs:sequence/>
+ <xs:attribute name="type" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Whether to use Csv, Fixed, or KeyValue.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="classType" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Name of model class to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="allowEmptyStream" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Whether to allow empty streams in the unmarshal process. If true, no exception will be thrown when a body without
+records is provided. Default value: false
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="unwrapSingleInstance" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+When unmarshalling should a single instance be unwrapped and returned instead of wrapped in a java.util.List. Default
+value: true
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="locale" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To configure a default locale to use, such as us for united states. To use the JVM platform default locale then use the
+name default.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="cborDataFormat">
+ <xs:complexContent>
+ <xs:extension base="tns:dataFormat">
+ <xs:sequence/>
+ <xs:attribute name="objectMapper" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Lookup and use the existing CBOR ObjectMapper with the given id when using Jackson.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="useDefaultObjectMapper" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Whether to lookup and use default Jackson CBOR ObjectMapper from the registry. Default value: true
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="unmarshalType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
@@ -8767,6 +9204,15 @@ Compression codec to use when marshalling. Default value: GZIP
<![CDATA[
Class to use when (un)marshalling. If omitted, parquet files are converted into Avro's GenericRecords for unmarshalling
and input objects are assumed as GenericRecords for marshalling.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="lazyLoad" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Whether the unmarshalling should produce an iterator of records or read all the records at once. Default value: false
]]>
</xs:documentation>
</xs:annotation>
@@ -9978,6 +10424,8 @@ maximum decompressed size. Default value: 1073741824
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -10005,6 +10453,7 @@ maximum decompressed size. Default value: 1073741824
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -10016,7 +10465,9 @@ maximum decompressed size. Default value: 1073741824
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -10196,6 +10647,8 @@ controlling whether a completion callback should be invoked or not.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -10223,6 +10676,7 @@ controlling whether a completion callback should be invoked or not.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -10234,7 +10688,9 @@ controlling whether a completion callback should be invoked or not.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -10389,6 +10845,8 @@ its considered handled as well.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -10416,6 +10874,7 @@ its considered handled as well.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -10427,7 +10886,9 @@ its considered handled as well.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -10642,6 +11103,8 @@ one of the available events. Implementations should not assume the predicate to
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -10669,6 +11132,7 @@ one of the available events. Implementations should not assume the predicate to
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -10680,7 +11144,9 @@ one of the available events. Implementations should not assume the predicate to
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -10717,6 +11183,8 @@ one of the available events. Implementations should not assume the predicate to
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -10744,6 +11212,7 @@ one of the available events. Implementations should not assume the predicate to
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -10755,7 +11224,9 @@ one of the available events. Implementations should not assume the predicate to
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -10798,6 +11269,7 @@ Sets a reference to use for lookup the policy in the registry.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -10811,10 +11283,23 @@ Sets a reference to use for lookup the policy in the registry.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
</xs:choice>
+ <xs:attribute name="variableReceive" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
<xs:attribute name="aggregationStrategy" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
@@ -10893,6 +11378,15 @@ storing too many non frequent used producers.
<xs:documentation xml:lang="en">
<![CDATA[
Ignore the invalidate endpoint exception when try to create a producer with that endpoint. Default value: false
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="autoStartComponents" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Whether to auto startup components when poll enricher is starting up. Default value: true
]]>
</xs:documentation>
</xs:annotation>
@@ -10933,6 +11427,7 @@ type in the registry by prefixing with #type: syntax, eg #type:com.foo.MyClassTy
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -10946,6 +11441,8 @@ type in the registry by prefixing with #type: syntax, eg #type:com.foo.MyClassTy
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -10972,6 +11469,7 @@ Property key.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -10985,6 +11483,8 @@ Property key.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -11240,6 +11740,22 @@ Name or pattern of properties to not remove. The pattern is matched in the follo
<xs:documentation xml:lang="en">
<![CDATA[
Name of property to remove.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="removeVariableDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:noOutputDefinition">
+ <xs:sequence/>
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Name of variable to remove.
]]>
</xs:documentation>
</xs:annotation>
@@ -11252,8 +11768,8 @@ Name of property to remove.
<xs:extension base="tns:output">
<xs:sequence>
<xs:choice minOccurs="0">
- <xs:element ref="tns:batch-config"/>
- <xs:element ref="tns:stream-config"/>
+ <xs:element ref="tns:batchConfig"/>
+ <xs:element ref="tns:streamConfig"/>
</xs:choice>
<xs:choice>
<xs:element ref="tns:expressionDefinition"/>
@@ -11264,6 +11780,7 @@ Name of property to remove.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -11277,6 +11794,8 @@ Name of property to remove.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -11292,6 +11811,8 @@ Name of property to remove.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -11319,6 +11840,7 @@ Name of property to remove.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -11330,7 +11852,9 @@ Name of property to remove.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -11635,6 +12159,8 @@ Reference to the routes in the xml dsl.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -11662,6 +12188,7 @@ Reference to the routes in the xml dsl.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -11673,7 +12200,9 @@ Reference to the routes in the xml dsl.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -11705,7 +12234,7 @@ Whether to auto start this route. Default value: true
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to slow down processing messages by a given delay in msec.
+Whether to slow down processing messages by a given delay in msec. Default value: advanced
]]>
</xs:documentation>
</xs:annotation>
@@ -11936,6 +12465,7 @@ Description of the parameter.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -11949,6 +12479,8 @@ Description of the parameter.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -12062,6 +12594,8 @@ actions. Option values will be transformed into input headers of the compensatio
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -12089,6 +12623,7 @@ actions. Option values will be transformed into input headers of the compensatio
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -12100,7 +12635,9 @@ actions. Option values will be transformed into input headers of the compensatio
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -12199,6 +12736,7 @@ Sets the sample message count which only a single Exchange will pass through aft
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -12212,6 +12750,8 @@ Sets the sample message count which only a single Exchange will pass through aft
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -12231,6 +12771,7 @@ Sets the sample message count which only a single Exchange will pass through aft
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -12244,6 +12785,8 @@ Sets the sample message count which only a single Exchange will pass through aft
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -12279,6 +12822,7 @@ Sets the new exchange pattern of the Exchange to be used from this point forward
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -12292,6 +12836,8 @@ Sets the new exchange pattern of the Exchange to be used from this point forward
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -12309,6 +12855,15 @@ be used. Otherwise a constant name will be used.
</xs:extension>
</xs:complexContent>
</xs:complexType>
+ <xs:complexType name="setHeadersDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:processorDefinition">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:setHeader"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
<xs:complexType name="setPropertyDefinition">
<xs:complexContent>
<xs:extension base="tns:processorDefinition">
@@ -12321,6 +12876,7 @@ be used. Otherwise a constant name will be used.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -12334,6 +12890,8 @@ be used. Otherwise a constant name will be used.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -12344,6 +12902,51 @@ be used. Otherwise a constant name will be used.
<![CDATA[
Name of exchange property to set a new value. The simple language can be used to define a dynamic evaluated exchange
property name to be used. Otherwise a constant name will be used.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="setVariableDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:processorDefinition">
+ <xs:choice>
+ <xs:element ref="tns:expressionDefinition"/>
+ <xs:element ref="tns:csimple"/>
+ <xs:element ref="tns:constant"/>
+ <xs:element ref="tns:datasonnet"/>
+ <xs:element ref="tns:exchangeProperty"/>
+ <xs:element ref="tns:groovy"/>
+ <xs:element ref="tns:header"/>
+ <xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
+ <xs:element ref="tns:js"/>
+ <xs:element ref="tns:joor"/>
+ <xs:element ref="tns:jq"/>
+ <xs:element ref="tns:jsonpath"/>
+ <xs:element ref="tns:language"/>
+ <xs:element ref="tns:method"/>
+ <xs:element ref="tns:mvel"/>
+ <xs:element ref="tns:ognl"/>
+ <xs:element ref="tns:python"/>
+ <xs:element ref="tns:ref"/>
+ <xs:element ref="tns:simple"/>
+ <xs:element ref="tns:spel"/>
+ <xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
+ <xs:element ref="tns:xtokenize"/>
+ <xs:element ref="tns:xpath"/>
+ <xs:element ref="tns:xquery"/>
+ </xs:choice>
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Name of variable to set a new value The simple language can be used to define a dynamic evaluated variable name to be
+used. Otherwise a constant name will be used.
]]>
</xs:documentation>
</xs:annotation>
@@ -12363,6 +12966,7 @@ property name to be used. Otherwise a constant name will be used.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -12376,6 +12980,8 @@ property name to be used. Otherwise a constant name will be used.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -12405,6 +13011,7 @@ Sets the comparator to use for sorting.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -12418,6 +13025,8 @@ Sets the comparator to use for sorting.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -12433,6 +13042,8 @@ Sets the comparator to use for sorting.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -12460,6 +13071,7 @@ Sets the comparator to use for sorting.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -12471,7 +13083,9 @@ Sets the comparator to use for sorting.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -12494,7 +13108,9 @@ Sets the comparator to use for sorting.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Delimiter used in splitting messages. Can be turned off using the value false. The default value is ,. Default value: ,
+Delimiter used in splitting messages. Can be turned off using the value false. To force not splitting then the delimiter
+can be set to single to use the value as a single list, this can be needed in some special situations. The default value
+is comma. Default value: ,
]]>
</xs:documentation>
</xs:annotation>
@@ -12656,6 +13272,8 @@ individual unit of work. Default value: false
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -12683,6 +13301,7 @@ individual unit of work. Default value: false
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -12694,7 +13313,9 @@ individual unit of work. Default value: false
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -13002,6 +13623,7 @@ handler. Is by default true. Default value: true
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -13015,6 +13637,8 @@ handler. Is by default true. Default value: true
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -13030,20 +13654,20 @@ correlation key is throttled together.
</xs:annotation>
</xs:element>
</xs:sequence>
- <xs:attribute name="executorService" type="xs:string">
+ <xs:attribute name="mode" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To use a custom thread pool (ScheduledExecutorService) by the throttler.
+Sets the throttling mode to one of the available modes enumerated in ThrottlingMode. Default value: TotalRequests
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="timePeriodMillis" type="xs:string">
+ <xs:attribute name="executorService" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the time period during which the maximum request count is valid for. Default value: 1000
+To use a custom thread pool (ScheduledExecutorService) by the throttler.
]]>
</xs:documentation>
</xs:annotation>
@@ -13073,6 +13697,15 @@ value: true
<![CDATA[
Whether or not throttler throws the ThrottlerRejectedExecutionException when the exchange exceeds the request limit Is
by default false. Default value: false
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="timePeriodMillis" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the time period during which the maximum request count is valid for. Default value: 1000
]]>
</xs:documentation>
</xs:annotation>
@@ -13118,6 +13751,29 @@ Reference to the exception instance to lookup from the registry to throw.
<xs:complexContent>
<xs:extension base="tns:sendDefinition">
<xs:sequence/>
+ <xs:attribute name="variableSend" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable as the source for the message body to send. This makes it handy to use variables for user data and to
+easily control what data to use for sending and receiving. Important: When using send variable then the message body is
+taken from this variable instead of the current Message , however the headers from the Message will still be used as
+well. In other words, the variable is used instead of the message body, but everything else is as usual.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="variableReceive" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
<xs:attribute name="pattern" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
@@ -13140,6 +13796,29 @@ Sets the optional ExchangePattern used to invoke this endpoint.
<![CDATA[
The uri of the endpoint to send to. The uri can be dynamic computed using the
org.apache.camel.language.simple.SimpleLanguage expression.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="variableSend" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="variableReceive" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable as the source for the message body to send. This makes it handy to use variables for user data and to
+easily control what data to use for sending and receiving. Important: When using send variable then the message body is
+taken from this variable instead of the current Message , however the headers from the Message will still be used as
+well. In other words, the variable is used instead of the message body, but everything else is as usual.
]]>
</xs:documentation>
</xs:annotation>
@@ -13215,6 +13894,8 @@ Whether to auto startup components when toD is starting up. Default value: true
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -13242,6 +13923,7 @@ Whether to auto startup components when toD is starting up. Default value: true
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -13253,7 +13935,9 @@ Whether to auto startup components when toD is starting up. Default value: true
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -13296,6 +13980,7 @@ Sets a reference to use for lookup the policy in the registry.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -13309,6 +13994,8 @@ Sets a reference to use for lookup the policy in the registry.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -13349,6 +14036,8 @@ To type used as a target data type in the transformation.
<xs:element ref="tns:onFallback"/>
<xs:element ref="tns:claimCheck"/>
<xs:element ref="tns:convertBodyTo"/>
+ <xs:element ref="tns:convertHeaderTo"/>
+ <xs:element ref="tns:convertVariableTo"/>
<xs:element ref="tns:delay"/>
<xs:element ref="tns:dynamicRouter"/>
<xs:element ref="tns:enrich"/>
@@ -13376,6 +14065,7 @@ To type used as a target data type in the transformation.
<xs:element ref="tns:removeHeaders"/>
<xs:element ref="tns:removeProperties"/>
<xs:element ref="tns:removeProperty"/>
+ <xs:element ref="tns:removeVariable"/>
<xs:element ref="tns:resequence"/>
<xs:element ref="tns:resumable"/>
<xs:element ref="tns:rollback"/>
@@ -13387,7 +14077,9 @@ To type used as a target data type in the transformation.
<xs:element ref="tns:setBody"/>
<xs:element ref="tns:setExchangePattern"/>
<xs:element ref="tns:setHeader"/>
+ <xs:element ref="tns:setHeaders"/>
<xs:element ref="tns:setProperty"/>
+ <xs:element ref="tns:setVariable"/>
<xs:element ref="tns:sort"/>
<xs:element ref="tns:split"/>
<xs:element ref="tns:step"/>
@@ -13418,6 +14110,7 @@ To type used as a target data type in the transformation.
<xs:element ref="tns:avro"/>
<xs:element ref="tns:barcode"/>
<xs:element ref="tns:base64"/>
+ <xs:element ref="tns:beanio"/>
<xs:element ref="tns:bindy"/>
<xs:element ref="tns:cbor"/>
<xs:element ref="tns:crypto"/>
@@ -13456,6 +14149,28 @@ To type used as a target data type in the transformation.
<xs:element ref="tns:zipFile"/>
</xs:choice>
</xs:sequence>
+ <xs:attribute name="variableSend" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="variableReceive" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+To use a variable to store the received message body (only body, not headers). This is handy for easy access to the
+received message body via variables. Important: When using receive variable then the received body is stored only in
+this variable and not on the current org.apache.camel.Message .
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
<xs:attribute name="allowNullBody" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
@@ -13480,6 +14195,7 @@ Indicates whether null is allowed as value of a body to unmarshall. Default valu
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -13493,6 +14209,8 @@ Indicates whether null is allowed as value of a body to unmarshall. Default valu
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -13560,830 +14278,574 @@ Uses a custom thread pool.
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="applicationDefinition">
+ <xs:complexType name="blacklistServiceCallServiceFilterConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceFilterConfiguration">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="servers" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the server blacklist. Each entry can be a list of servers separated by comma in the format:
+servicehost:port,servicehost2:port,servicehost3:port.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="serviceCallServiceFilterConfiguration">
<xs:complexContent>
- <xs:extension base="tns:beansDefinition">
+ <xs:extension base="tns:serviceCallConfiguration">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="beansDefinition">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="component-scan" type="tns:componentScanDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Component scanning definition(s). But unlike package/packageScan/contextScan, we're not scanning only for
-org.apache.camel.builder.RouteBuilder.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="bean" type="tns:registryBeanDefinition"/>
- <xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
- <xs:any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="skip"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:restConfiguration"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:rest"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:routeConfiguration"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:routeTemplate"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:templatedRoute"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:route"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="componentScanDefinition">
- <xs:sequence/>
- <xs:attribute name="base-package" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="registryBeanDefinition">
- <xs:sequence>
- <xs:element minOccurs="0" name="constructors" type="tns:beanConstructorsDefinition"/>
- <xs:element minOccurs="0" name="properties" type="tns:beanPropertiesDefinition"/>
- <xs:element minOccurs="0" name="script" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="type" type="xs:string" use="required"/>
- <xs:attribute name="initMethod" type="xs:string"/>
- <xs:attribute name="destroyMethod" type="xs:string"/>
- <xs:attribute name="factoryMethod" type="xs:string"/>
- <xs:attribute name="factoryBean" type="xs:string"/>
- <xs:attribute name="scriptLanguage" type="xs:string"/>
- </xs:complexType>
- <xs:complexType name="beanConstructorsDefinition">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="constructor" type="tns:beanConstructorDefinition"/>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="beanConstructorDefinition">
- <xs:sequence/>
- <xs:attribute name="index" type="xs:int"/>
- <xs:attribute name="value" type="xs:string" use="required"/>
- </xs:complexType>
- <xs:complexType name="restConfigurationDefinition">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="componentProperty" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Allows to configure as many additional properties for the rest component in use.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="endpointProperty" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Allows to configure as many additional properties for the rest endpoint in use.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="consumerProperty" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Allows to configure as many additional properties for the rest consumer in use.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="dataFormatProperty" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Allows to configure as many additional properties for the data formats in use. For example set property prettyPrint to
-true to have json outputted in pretty mode. The properties can be prefixed to denote the option is only for either JSON
-or XML and for either the IN or the OUT. The prefixes are: json.in. json.out. xml.in. xml.out. For example a key with
-value xml.out.mustBeJAXBElement is only for the XML data format for the outgoing. A key without a prefix is a common key
-for all situations.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="apiProperty" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Allows to configure as many additional properties for the api documentation. For example set property api.title to my
-cool stuff.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="corsHeaders" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Allows to configure custom CORS headers.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="component" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The Camel Rest component to use for the REST transport (consumer), such as netty-http, jetty, servlet, undertow. If no
-component has been explicit configured, then Camel will lookup if there is a Camel component that integrates with the
-Rest DSL, or if a org.apache.camel.spi.RestConsumerFactory is registered in the registry. If either one is found, then
-that is being used.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="apiComponent" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The name of the Camel component to use as the REST API. If no API Component has been explicit configured, then Camel
-will lookup if there is a Camel component responsible for servicing and generating the REST API documentation, or if a
-org.apache.camel.spi.RestApiProcessorFactory is registered in the registry. If either one is found, then that is being
-used.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="producerComponent" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the name of the Camel component to use as the REST producer.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="scheme" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The scheme to use for exposing the REST service. Usually http or https is supported. The default value is http.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="host" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The hostname to use for exposing the REST service.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="port" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The port number to use for exposing the REST service. Notice if you use servlet component then the port number
-configured here does not apply, as the port number in use is the actual port number the servlet component is using. eg
-if using Apache Tomcat its the tomcat http port, if using Apache Karaf its the HTTP service in Karaf that uses port 8181
-by default etc. Though in those situations setting the port number here, allows tooling and JMX to know the port number,
-so its recommended to set the port number to the number that the servlet engine uses.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="apiHost" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-To use a specific hostname for the API documentation (such as swagger or openapi) This can be used to override the
-generated host with this configured hostname.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="useXForwardHeaders" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Whether to use X-Forward headers for Host and related setting. The default value is true. Default value: true
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="producerApiDoc" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the location of the api document the REST producer will use to validate the REST uri and query parameters are valid
-accordingly to the api document. The location of the api document is loaded from classpath by default, but you can use
-file: or http: to refer to resources to load from file or http url.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="contextPath" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets a leading context-path the REST services will be using. This can be used when using components such as
-camel-servlet where the deployed web application is deployed using a context-path. Or for components such as camel-jetty
-or camel-netty-http that includes a HTTP server.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="apiContextPath" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets a leading API context-path the REST API services will be using. This can be used when using components such as
-camel-servlet where the deployed web application is deployed using a context-path.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="apiContextRouteId" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the route id to use for the route that services the REST API. The route will by default use an auto assigned route
-id.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="apiVendorExtension" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Whether vendor extension is enabled in the Rest APIs. If enabled then Camel will include additional information as
-vendor extension (eg keys starting with x-) such as route ids, class names etc. Not all 3rd party API gateways and tools
-supports vendor-extensions when importing your API docs. Default value: false
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="hostNameResolver" type="tns:restHostNameResolver">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-If no hostname has been explicit configured, then this resolver is used to compute the hostname the REST service will be
-using. Default value: allLocalIp
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="bindingMode" type="tns:restBindingMode">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the binding mode to use. The default value is off. Default value: off
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:complexType abstract="true" name="serviceCallConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:identifiedType">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" type="tns:propertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
-messages that do not bind to json / xml etc, as success messages otherwise will do. Default value: false
+Set client properties to use. These properties are specific to what service call implementation are in use. For example
+if using a different one, then the client properties are defined according to the specific service in use.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="clientRequestValidation" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="cachingServiceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:sequence>
+ <xs:choice minOccurs="0">
+ <xs:element ref="tns:consulServiceDiscovery"/>
+ <xs:element ref="tns:dnsServiceDiscovery"/>
+ <xs:element ref="tns:kubernetesServiceDiscovery"/>
+ <xs:element ref="tns:combinedServiceDiscovery"/>
+ <xs:element ref="tns:staticServiceDiscovery"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="timeout" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
-returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
-406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
-validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
-Status 400 if validation error. Default value: false
+Set the time the services will be retained. Default value: 60
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="enableCORS" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="units" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable CORS headers in the HTTP response. The default value is false. Default value: false
+Set the time unit for the timeout. Default value: SECONDS
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="inlineRoutes" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="serviceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallConfiguration">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="consulServiceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:sequence/>
+ <xs:attribute name="url" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Inline routes in rest-dsl which are linked using direct endpoints. By default, each service in Rest DSL is an individual
-route, meaning that you would have at least two routes per service (rest-dsl, and the route linked from rest-dsl).
-Enabling this allows Camel to optimize and inline this as a single route, however this requires to use direct endpoints,
-which must be unique per service. This option is default false. Default value: false
+The Consul agent URL.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="jsonDataFormat" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="datacenter" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Name of specific json data format to use. By default jackson will be used. Important: This option is only for setting a
-custom name of the data format, not to refer to an existing data format instance.
+The data center.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="xmlDataFormat" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="aclToken" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Name of specific XML data format to use. By default jaxb will be used. Important: This option is only for setting a
-custom name of the data format, not to refer to an existing data format instance.
+Sets the ACL token to be used with Consul.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="restPropertyDefinition">
- <xs:sequence/>
- <xs:attribute name="key" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="userName" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Property key.
+Sets the username to be used for basic authentication.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="value" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="password" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Property value.
+Sets the password to be used for basic authentication.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="restDefinition">
- <xs:complexContent>
- <xs:extension base="tns:optionalIdentifiedDefinition">
- <xs:sequence>
- <xs:element minOccurs="0" ref="tns:securityDefinitions"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="securityRequirements" type="tns:securityDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="connectTimeoutMillis" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the security requirement(s) for all endpoints.
+Connect timeout for OkHttpClient.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="tns:delete"/>
- <xs:element ref="tns:get"/>
- <xs:element ref="tns:head"/>
- <xs:element ref="tns:patch"/>
- <xs:element ref="tns:post"/>
- <xs:element ref="tns:put"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="path" type="xs:string">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="readTimeoutMillis" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Path of the rest service, such as /foo.
+Read timeout for OkHttpClient.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="consumes" type="xs:string">
+ <xs:attribute name="writeTimeoutMillis" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To define the content type what the REST service consumes (accept as input), such as application/xml or
-application/json. This option will override what may be configured on a parent level.
+Write timeout for OkHttpClient.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="produces" type="xs:string">
+ <xs:attribute name="blockSeconds" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To define the content type what the REST service produces (uses for output), such as application/xml or application/json
-This option will override what may be configured on a parent level.
+The seconds to wait for a watch event, default 10 seconds. Default value: 10
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="disabled" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="dnsServiceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:sequence/>
+ <xs:attribute name="proto" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it
-cannot be enabled later at runtime. Default value: false
+The transport protocol of the desired service. Default value: _tcp
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="bindingMode" type="xs:string">
+ <xs:attribute name="domain" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the binding mode to use. This option will override what may be configured on a parent level The default value is
-auto. Default value: off
+The domain name;.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="kubernetesServiceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:sequence/>
+ <xs:attribute name="lookup" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
-messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may
-be configured on a parent level. Default value: false
+How to perform service lookup. Possible values: client, dns, environment. When using client, then the client queries the
+kubernetes master to obtain a list of active pods that provides the service, and then random (or round robin) select a
+pod. When using dns the service name is resolved as name.namespace.svc.dnsDomain. When using dnssrv the service name is
+resolved with SRV query for _._...svc... When using environment then environment variables are used to lookup the
+service. By default environment is used. Default value: environment
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientRequestValidation" type="xs:string">
+ <xs:attribute name="dnsDomain" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
-returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
-406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
-validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
-Status 400 if validation error. Default value: false
+Sets the DNS domain to use for DNS lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="enableCORS" type="xs:string">
+ <xs:attribute name="portName" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable CORS headers in the HTTP response. This option will override what may be configured on a parent level
-The default value is false. Default value: false
+Sets the Port Name to use for DNS/DNSSRV lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="apiDocs" type="xs:string">
+ <xs:attribute name="portProtocol" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to include or exclude this rest operation in API documentation. This option will override what may be configured
-on a parent level. The default value is true. Default value: true
+Sets the Port Protocol to use for DNS/DNSSRV lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="tag" type="xs:string">
+ <xs:attribute name="namespace" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To configure a special tag for the operations within this rest definition.
+Sets the namespace to use. Will by default use namespace from the ENV variable KUBERNETES_MASTER.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="restSecuritiesDefinition">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="tns:apiKey"/>
- <xs:element ref="tns:basicAuth"/>
- <xs:element name="bearer" type="tns:bearerTokenDefinition"/>
- <xs:element ref="tns:oauth2"/>
- <xs:element ref="tns:openIdConnect"/>
- <xs:element ref="tns:mutualTLS"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="apiKeyDefinition">
- <xs:complexContent>
- <xs:extension base="tns:restSecurityDefinition">
- <xs:sequence/>
- <xs:attribute name="name" type="xs:string" use="required">
+ <xs:attribute name="apiVersion" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The name of the header or query parameter to be used.
+Sets the API version when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="inHeader" type="xs:string">
+ <xs:attribute name="masterUrl" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To use header as the location of the API key. Default value: false
+Sets the URL to the master when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="inQuery" type="xs:string">
+ <xs:attribute name="username" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To use query parameter as the location of the API key. Default value: false
+Sets the username for authentication when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="inCookie" type="xs:string">
+ <xs:attribute name="password" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To use a cookie as the location of the API key. Default value: false
+Sets the password for authentication when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="restSecurityDefinition">
- <xs:sequence/>
- <xs:attribute name="key" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Key used to refer to this security definition.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="description" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-A short description for security scheme.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="basicAuthDefinition">
- <xs:complexContent>
- <xs:extension base="tns:restSecurityDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="bearerTokenDefinition">
- <xs:complexContent>
- <xs:extension base="tns:restSecurityDefinition">
- <xs:sequence/>
- <xs:attribute name="format" type="xs:string">
+ <xs:attribute name="oauthToken" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-A hint to the client to identify how the bearer token is formatted.
+Sets the OAUTH token for authentication (instead of username/password) when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="oAuth2Definition">
- <xs:complexContent>
- <xs:extension base="tns:restSecurityDefinition">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="scopes" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The available scopes for an OAuth2 security scheme.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="authorizationUrl" type="xs:string">
+ <xs:attribute name="caCertData" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Required for implicit and access
-code flows.
+Sets the Certificate Authority data when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="tokenUrl" type="xs:string">
+ <xs:attribute name="caCertFile" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The token URL to be used for this flow. This SHOULD be in the form of a URL. Required for password, application, and
-access code flows.
+Sets the Certificate Authority data that are loaded from the file when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="refreshUrl" type="xs:string">
+ <xs:attribute name="clientCertData" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.
+Sets the Client Certificate data when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="flow" type="xs:string">
+ <xs:attribute name="clientCertFile" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The flow used by the OAuth2 security scheme. Valid values are implicit, password, application or accessCode.
+Sets the Client Certificate data that are loaded from the file when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="openIdConnectDefinition">
- <xs:complexContent>
- <xs:extension base="tns:restSecurityDefinition">
- <xs:sequence/>
- <xs:attribute name="url" type="xs:string" use="required">
+ <xs:attribute name="clientKeyAlgo" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-OpenId Connect URL to discover OAuth2 configuration values.
+Sets the Client Keystore algorithm, such as RSA when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="mutualTLSDefinition">
- <xs:complexContent>
- <xs:extension base="tns:restSecurityDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="securityDefinition">
- <xs:sequence/>
- <xs:attribute name="key" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Key used to refer to this security definition.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="scopes" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The scopes to allow (separate multiple scopes by comma).
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType abstract="true" name="verbDefinition">
- <xs:complexContent>
- <xs:extension base="tns:optionalIdentifiedDefinition">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:param"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:responseMessage"/>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:security"/>
- <xs:element ref="tns:to"/>
- </xs:sequence>
- <xs:attribute name="path" type="xs:string">
+ <xs:attribute name="clientKeyData" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The path mapping URIs of this REST operation such as /{id}.
+Sets the Client Keystore data when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="consumes" type="xs:string">
+ <xs:attribute name="clientKeyFile" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To define the content type what the REST service consumes (accept as input), such as application/xml or
-application/json. This option will override what may be configured on a parent level.
+Sets the Client Keystore data that are loaded from the file when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="produces" type="xs:string">
+ <xs:attribute name="clientKeyPassphrase" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To define the content type what the REST service produces (uses for output), such as application/xml or application/json
-This option will override what may be configured on a parent level.
+Sets the Client Keystore passphrase when using client lookup.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="disabled" type="xs:string">
+ <xs:attribute name="trustCerts" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it
-cannot be enabled later at runtime. Default value: false
+Sets whether to turn on trust certificate check when using client lookup. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="type" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="combinedServiceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="tns:consulServiceDiscovery"/>
+ <xs:element ref="tns:dnsServiceDiscovery"/>
+ <xs:element ref="tns:kubernetesServiceDiscovery"/>
+ <xs:element ref="tns:staticServiceDiscovery"/>
+ <xs:element ref="tns:cachingServiceDiscovery"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="staticServiceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="servers" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the server list. Each entry can be a list of servers separated by comma in the format:
+servicehost:port,servicehost2:port,servicehost3:port.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="combinedServiceCallServiceFilterConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceFilterConfiguration">
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="tns:blacklistServiceFilter"/>
+ <xs:element ref="tns:customServiceFilter"/>
+ <xs:element ref="tns:healthyServiceFilter"/>
+ <xs:element ref="tns:passThroughServiceFilter"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="customServiceCallServiceFilterConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceFilterConfiguration">
+ <xs:sequence/>
+ <xs:attribute name="ref" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be
-configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the
-input to be an array type.
+Reference of a ServiceFilter.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="healthyServiceCallServiceFilterConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceFilterConfiguration">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="passThroughServiceCallServiceFilterConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceFilterConfiguration">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="defaultServiceCallServiceLoadBalancerConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceLoadBalancerConfiguration">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="serviceCallServiceLoadBalancerConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallConfiguration">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="serviceCallConfigurationDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:identifiedType">
+ <xs:sequence>
+ <xs:choice minOccurs="0">
+ <xs:element ref="tns:cachingServiceDiscovery"/>
+ <xs:element ref="tns:combinedServiceDiscovery"/>
+ <xs:element ref="tns:consulServiceDiscovery"/>
+ <xs:element ref="tns:dnsServiceDiscovery"/>
+ <xs:element ref="tns:kubernetesServiceDiscovery"/>
+ <xs:element ref="tns:staticServiceDiscovery"/>
+ <xs:element ref="tns:zookeeperServiceDiscovery"/>
+ </xs:choice>
+ <xs:choice minOccurs="0">
+ <xs:element ref="tns:blacklistServiceFilter"/>
+ <xs:element ref="tns:combinedServiceFilter"/>
+ <xs:element ref="tns:customServiceFilter"/>
+ <xs:element ref="tns:healthyServiceFilter"/>
+ <xs:element ref="tns:passThroughServiceFilter"/>
+ </xs:choice>
+ <xs:element minOccurs="0" ref="tns:defaultLoadBalancer"/>
+ <xs:element minOccurs="0" name="expression" type="tns:serviceCallExpressionConfiguration">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Configures the Expression using the given configuration.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="outType" type="xs:string">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="uri" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be
-configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the
-input to be an array type.
+The uri of the endpoint to send to. The uri can be dynamic computed using the simple language expression.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="bindingMode" type="xs:string">
+ <xs:attribute name="component" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the binding mode to use. This option will override what may be configured on a parent level The default value is
-off. Default value: off
+The component to use. Default value: http
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
+ <xs:attribute name="pattern" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
-messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may
-be configured on a parent level. Default value: false
+Sets the optional ExchangePattern used to invoke this endpoint.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientRequestValidation" type="xs:string">
+ <xs:attribute name="serviceDiscoveryRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
-returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
-406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
-validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
-Status 400 if validation error. Default value: false
+Sets a reference to a custom ServiceDiscovery to use.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="enableCORS" type="xs:string">
+ <xs:attribute name="serviceFilterRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable CORS headers in the HTTP response. This option will override what may be configured on a parent level
-The default value is false. Default value: false
+Sets a reference to a custom ServiceFilter to use.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="apiDocs" type="xs:string">
+ <xs:attribute name="serviceChooserRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to include or exclude this rest operation in API documentation. The default value is true. Default value: true
+Sets a reference to a custom ServiceChooser to use.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="deprecated" type="xs:string">
+ <xs:attribute name="loadBalancerRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Marks this rest operation as deprecated in OpenApi documentation. Default value: false
+Sets a reference to a custom ServiceLoadBalancer to use.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="routeId" type="xs:string">
+ <xs:attribute name="expressionRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the id of the route.
+Set a reference to a custom Expression to use.
]]>
</xs:documentation>
</xs:annotation>
@@ -14391,315 +14853,261 @@ Sets the id of the route.
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="paramDefinition">
- <xs:sequence>
- <xs:element minOccurs="0" name="allowableValues">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter list of allowable values (enum).
-]]>
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:value"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="examples" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter examples.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter name.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="type" type="tns:restParamType" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter type. Default value: path
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="description" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter description.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="defaultValue" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter default value.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="required" type="xs:boolean">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter required flag. Default value: true
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="collectionFormat" type="tns:collectionFormat">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter collection format. Default value: csv
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="arrayType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter array type. Required if data type is array. Describes the type of items in the array. Default value:
-string
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dataType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter data type. Default value: string
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dataFormat" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter data format.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="responseMessageDefinition">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="header" type="tns:responseHeaderDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Adds a response header.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="examples" type="tns:restPropertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Examples of response messages.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="code" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The response code such as a HTTP status code. Default value: 200
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="message" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The response message (description).
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="responseModel" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The response model.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="responseHeaderDefinition">
- <xs:sequence>
- <xs:element minOccurs="0" name="allowableValues">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the parameter list of allowable values.
-]]>
- </xs:documentation>
- </xs:annotation>
- <xs:complexType>
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:value"/>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:complexType name="zooKeeperServiceCallServiceDiscoveryConfiguration">
+ <xs:complexContent>
+ <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:sequence/>
+ <xs:attribute name="nodes" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Name of the parameter. This option is mandatory.
+A comma separate list of servers to connect to in the form host:port.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="description" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="namespace" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Description of the parameter.
+As ZooKeeper is a shared space, users of a given cluster should stay within a pre-defined namespace. If a namespace is
+set here, all paths will get pre-pended with the namespace.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="collectionFormat" type="tns:collectionFormat">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="reconnectBaseSleepTime" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the parameter collection format. Default value: csv
+Initial amount of time to wait between retries.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="arrayType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="reconnectMaxSleepTime" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the parameter array type. Required if data type is array. Describes the type of items in the array. Default value:
-string
+Max time in ms to sleep on each retry.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dataType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="reconnectMaxRetries" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the header data type. Default value: string
+Max number of times to retry.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="dataFormat" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="sessionTimeout" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the parameter data format.
+Session timeout.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="example" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="connectionTimeout" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the example.
+Connection timeout.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:complexType>
- <xs:complexType name="blacklistServiceCallServiceFilterConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceFilterConfiguration">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="servers" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="basePath" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the server blacklist. Each entry can be a list of servers separated by comma in the format:
-servicehost:port,servicehost2:port,servicehost3:port.
+Set the base path to store in ZK.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="serviceCallServiceFilterConfiguration">
+ <xs:complexType name="serviceCallExpressionConfiguration">
<xs:complexContent>
<xs:extension base="tns:serviceCallConfiguration">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="serviceCallConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:identifiedType">
<xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="properties" type="tns:propertyDefinition">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:choice minOccurs="0">
+ <xs:element ref="tns:expressionDefinition"/>
+ <xs:element ref="tns:csimple"/>
+ <xs:element ref="tns:constant"/>
+ <xs:element ref="tns:datasonnet"/>
+ <xs:element ref="tns:exchangeProperty"/>
+ <xs:element ref="tns:groovy"/>
+ <xs:element ref="tns:header"/>
+ <xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
+ <xs:element ref="tns:js"/>
+ <xs:element ref="tns:joor"/>
+ <xs:element ref="tns:jq"/>
+ <xs:element ref="tns:jsonpath"/>
+ <xs:element ref="tns:language"/>
+ <xs:element ref="tns:method"/>
+ <xs:element ref="tns:mvel"/>
+ <xs:element ref="tns:ognl"/>
+ <xs:element ref="tns:python"/>
+ <xs:element ref="tns:ref"/>
+ <xs:element ref="tns:simple"/>
+ <xs:element ref="tns:spel"/>
+ <xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
+ <xs:element ref="tns:xtokenize"/>
+ <xs:element ref="tns:xpath"/>
+ <xs:element ref="tns:xquery"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="hostHeader" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Set client properties to use. These properties are specific to what service call implementation are in use. For example
-if using a different one, then the client properties are defined according to the specific service in use.
+The header that holds the service host information, default ServiceCallConstants.SERVICE_HOST. Default value:
+CamelServiceCallServiceHost
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="portHeader" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The header that holds the service port information, default ServiceCallConstants.SERVICE_PORT. Default value:
+CamelServiceCallServicePort
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="cachingServiceCallServiceDiscoveryConfiguration">
+ <xs:complexType name="serviceCallDefinition">
<xs:complexContent>
- <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:extension base="tns:noOutputDefinition">
<xs:sequence>
<xs:choice minOccurs="0">
+ <xs:element ref="tns:cachingServiceDiscovery"/>
+ <xs:element ref="tns:combinedServiceDiscovery"/>
<xs:element ref="tns:consulServiceDiscovery"/>
<xs:element ref="tns:dnsServiceDiscovery"/>
<xs:element ref="tns:kubernetesServiceDiscovery"/>
- <xs:element ref="tns:combinedServiceDiscovery"/>
<xs:element ref="tns:staticServiceDiscovery"/>
+ <xs:element ref="tns:zookeeperServiceDiscovery"/>
+ </xs:choice>
+ <xs:choice minOccurs="0">
+ <xs:element ref="tns:blacklistServiceFilter"/>
+ <xs:element ref="tns:combinedServiceFilter"/>
+ <xs:element ref="tns:customServiceFilter"/>
+ <xs:element ref="tns:healthyServiceFilter"/>
+ <xs:element ref="tns:passThroughServiceFilter"/>
</xs:choice>
+ <xs:element minOccurs="0" ref="tns:defaultLoadBalancer"/>
+ <xs:element minOccurs="0" name="expression" type="tns:serviceCallExpressionConfiguration">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Configures the Expression using the given configuration.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
</xs:sequence>
- <xs:attribute name="timeout" type="xs:string">
+ <xs:attribute name="name" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the name of the service to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="uri" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The uri of the endpoint to send to. The uri can be dynamic computed using the
+org.apache.camel.language.simple.SimpleLanguage expression.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="component" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The component to use. Default value: http
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="pattern" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the optional ExchangePattern used to invoke this endpoint.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="configurationRef" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Refers to a ServiceCall configuration to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="serviceDiscoveryRef" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets a reference to a custom ServiceDiscovery to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="serviceFilterRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Set the time the services will be retained. Default value: 60
+Sets a reference to a custom ServiceFilter to use.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="units" type="xs:string">
+ <xs:attribute name="serviceChooserRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Set the time unit for the timeout. Default value: SECONDS
+Sets a reference to a custom ServiceChooser to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="loadBalancerRef" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets a reference to a custom ServiceLoadBalancer to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="expressionRef" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Set a reference to a custom Expression to use.
]]>
</xs:documentation>
</xs:annotation>
@@ -14707,1463 +15115,1737 @@ Set the time unit for the timeout. Default value: SECONDS
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="serviceCallServiceDiscoveryConfiguration">
+ <xs:complexType final="extension restriction" name="serviceCallDefinitionConstants">
+ <xs:sequence/>
+ </xs:complexType>
+ <xs:complexType name="serviceCallServiceChooserConfiguration">
<xs:complexContent>
<xs:extension base="tns:serviceCallConfiguration">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="consulServiceCallServiceDiscoveryConfiguration">
+ <xs:complexType name="dataFormatsDefinition">
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="tns:asn1"/>
+ <xs:element ref="tns:avro"/>
+ <xs:element ref="tns:barcode"/>
+ <xs:element ref="tns:base64"/>
+ <xs:element ref="tns:beanio"/>
+ <xs:element ref="tns:bindy"/>
+ <xs:element ref="tns:cbor"/>
+ <xs:element ref="tns:crypto"/>
+ <xs:element ref="tns:csv"/>
+ <xs:element ref="tns:custom"/>
+ <xs:element ref="tns:fhirJson"/>
+ <xs:element ref="tns:fhirXml"/>
+ <xs:element ref="tns:flatpack"/>
+ <xs:element ref="tns:grok"/>
+ <xs:element ref="tns:gzipDeflater"/>
+ <xs:element ref="tns:hl7"/>
+ <xs:element ref="tns:ical"/>
+ <xs:element ref="tns:jacksonXml"/>
+ <xs:element ref="tns:jaxb"/>
+ <xs:element ref="tns:json"/>
+ <xs:element ref="tns:jsonApi"/>
+ <xs:element ref="tns:lzf"/>
+ <xs:element ref="tns:mimeMultipart"/>
+ <xs:element ref="tns:parquetAvro"/>
+ <xs:element ref="tns:pgp"/>
+ <xs:element ref="tns:protobuf"/>
+ <xs:element ref="tns:rss"/>
+ <xs:element ref="tns:soap"/>
+ <xs:element ref="tns:swiftMt"/>
+ <xs:element ref="tns:swiftMx"/>
+ <xs:element ref="tns:syslog"/>
+ <xs:element ref="tns:tarFile"/>
+ <xs:element ref="tns:thrift"/>
+ <xs:element ref="tns:tidyMarkup"/>
+ <xs:element ref="tns:univocityCsv"/>
+ <xs:element ref="tns:univocityFixed"/>
+ <xs:element ref="tns:univocityTsv"/>
+ <xs:element ref="tns:xmlSecurity"/>
+ <xs:element ref="tns:yaml"/>
+ <xs:element ref="tns:zipDeflater"/>
+ <xs:element ref="tns:zipFile"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
+ <xs:complexType name="refErrorHandlerDefinition">
<xs:complexContent>
- <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:extension base="tns:baseErrorHandlerDefinition">
<xs:sequence/>
- <xs:attribute name="url" type="xs:string">
+ <xs:attribute name="ref" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The Consul agent URL.
+References to an existing or custom error handler.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="datacenter" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="cSimpleExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="typedExpressionDefinition">
+ <xs:simpleContent>
+ <xs:extension base="tns:expression">
+ <xs:attribute name="resultType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The data center.
+Sets the class of the result type (type from output).
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="aclToken" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="constantExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="datasonnetExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:singleInputTypedExpressionDefinition">
+ <xs:attribute name="bodyMediaType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the ACL token to be used with Consul.
+The String representation of the message's body MediaType.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="userName" type="xs:string">
+ <xs:attribute name="outputMediaType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the username to be used for basic authentication.
+The String representation of the MediaType to output.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="password" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="singleInputTypedExpressionDefinition">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition">
+ <xs:attribute name="source" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the password to be used for basic authentication.
+Source to use, instead of message body. You can prefix with variable:, header:, or property: to specify kind of source.
+Otherwise, the source is assumed to be a variable. Use empty or null to use default source, which is the message body.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="connectTimeoutMillis" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="exchangePropertyExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:expression"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="groovyExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="headerExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:expression"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="hl7TerserExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:singleInputTypedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="javaExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition">
+ <xs:attribute name="preCompile" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Connect timeout for OkHttpClient.
+Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the
+expression is reloaded and compiled on each evaluation. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="readTimeoutMillis" type="xs:string">
+ <xs:attribute name="singleQuotes" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Read timeout for OkHttpClient.
+Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with
+strings inside strings. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="writeTimeoutMillis" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="javaScriptExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="joorExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition">
+ <xs:attribute name="preCompile" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Write timeout for OkHttpClient.
+Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the
+expression is reloaded and compiled on each evaluation. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="blockSeconds" type="xs:string">
+ <xs:attribute name="singleQuotes" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The seconds to wait for a watch event, default 10 seconds. Default value: 10
+Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with
+strings inside strings. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
- </xs:complexContent>
+ </xs:simpleContent>
</xs:complexType>
- <xs:complexType name="dnsServiceCallServiceDiscoveryConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
- <xs:sequence/>
- <xs:attribute name="proto" type="xs:string">
+ <xs:complexType name="jqExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:singleInputTypedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="jsonPathExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:singleInputTypedExpressionDefinition">
+ <xs:attribute name="suppressExceptions" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The transport protocol of the desired service. Default value: _tcp
+Whether to suppress exceptions such as PathNotFoundException. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="domain" type="xs:string">
+ <xs:attribute name="allowSimple" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The domain name;.
+Whether to allow in inlined Simple exceptions in the JSONPath expression. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="kubernetesServiceCallServiceDiscoveryConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
- <xs:sequence/>
- <xs:attribute name="lookup" type="xs:string">
+ <xs:attribute name="allowEasyPredicate" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-How to perform service lookup. Possible values: client, dns, environment. When using client, then the client queries the
-kubernetes master to obtain a list of active pods that provides the service, and then random (or round robin) select a
-pod. When using dns the service name is resolved as name.namespace.svc.dnsDomain. When using dnssrv the service name is
-resolved with SRV query for _._...svc... When using environment then environment variables are used to lookup the
-service. By default environment is used. Default value: environment
+Whether to allow using the easy predicate parser to pre-parse predicates. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="dnsDomain" type="xs:string">
+ <xs:attribute name="writeAsString" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the DNS domain to use for DNS lookup.
+Whether to write the output of each row/element as a JSON String value instead of a Map/POJO value. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="portName" type="xs:string">
+ <xs:attribute name="unpackArray" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Port Name to use for DNS/DNSSRV lookup.
+Whether to unpack a single element json-array into an object. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="portProtocol" type="xs:string">
+ <xs:attribute name="option" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Port Protocol to use for DNS/DNSSRV lookup.
+To configure additional options on JSONPath. Multiple values can be separated by comma.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="namespace" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="languageExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:expression">
+ <xs:attribute name="language" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The name of the language to use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="methodCallExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition">
+ <xs:attribute name="ref" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the namespace to use. Will by default use namespace from the ENV variable KUBERNETES_MASTER.
+Reference to an existing bean (bean id) to lookup in the registry.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="apiVersion" type="xs:string">
+ <xs:attribute name="method" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the API version when using client lookup.
+Name of method to call.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="masterUrl" type="xs:string">
+ <xs:attribute name="beanType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the URL to the master when using client lookup.
+Class name (fully qualified) of the bean to use Will lookup in registry and if there is a single instance of the same
+type, then the existing bean is used, otherwise a new bean is created (requires a default no-arg constructor).
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="username" type="xs:string">
+ <xs:attribute name="scope" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the username for authentication when using client lookup.
+Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the
+lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same
+time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you
+want to store state on a bean while processing a request and you want to call the same bean instance multiple times
+while processing the request. The bean does not have to be thread-safe as the instance is only called from the same
+request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then
+this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act
+as either singleton or prototype scope. So when using prototype scope then this depends on the bean registry
+implementation. Default value: Singleton
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="password" type="xs:string">
+ <xs:attribute name="validate" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the password for authentication when using client lookup.
+Whether to validate the bean has the configured method. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="oauthToken" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="mvelExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="namespaceAwareExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:singleInputTypedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="ognlExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="pythonExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="refExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="simpleExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="spELExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="tokenizerExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:singleInputTypedExpressionDefinition">
+ <xs:attribute name="token" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the OAUTH token for authentication (instead of username/password) when using client lookup.
+The (start) token to use as tokenizer, for example you can use the new line token. You can use simple language as the
+token to support dynamic tokens.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="caCertData" type="xs:string">
+ <xs:attribute name="endToken" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Certificate Authority data when using client lookup.
+The end token to use as tokenizer if using start/end token pairs. You can use simple language as the token to support
+dynamic tokens.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="caCertFile" type="xs:string">
+ <xs:attribute name="inheritNamespaceTagName" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Certificate Authority data that are loaded from the file when using client lookup.
+To inherit namespaces from a root/parent tag name when using XML You can use simple language as the tag name to support
+dynamic names.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientCertData" type="xs:string">
+ <xs:attribute name="regex" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Client Certificate data when using client lookup.
+If the token is a regular expression pattern. The default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientCertFile" type="xs:string">
+ <xs:attribute name="xml" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Client Certificate data that are loaded from the file when using client lookup.
+Whether the input is XML messages. This option must be set to true if working with XML payloads. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientKeyAlgo" type="xs:string">
+ <xs:attribute name="includeTokens" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Client Keystore algorithm, such as RSA when using client lookup.
+Whether to include the tokens in the parts when using pairs. When including tokens then the endToken property must also
+be configured (to use pair mode). The default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientKeyData" type="xs:string">
+ <xs:attribute name="group" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Client Keystore data when using client lookup.
+To group N parts together, for example to split big files into chunks of 1000 lines. You can use simple language as the
+group to support dynamic group sizes.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientKeyFile" type="xs:string">
+ <xs:attribute name="groupDelimiter" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Client Keystore data that are loaded from the file when using client lookup.
+Sets the delimiter to use when grouping. If this has not been set then token will be used as the delimiter.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientKeyPassphrase" type="xs:string">
+ <xs:attribute name="skipFirst" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the Client Keystore passphrase when using client lookup.
+To skip the very first element. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="trustCerts" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="variableExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:expression"/>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="wasmExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:typedExpressionDefinition">
+ <xs:attribute name="module" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets whether to turn on trust certificate check when using client lookup. Default value: false
+Set the module (the distributable, loadable, and executable unit of code in WebAssembly) resource that provides the
+expression function.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="combinedServiceCallServiceDiscoveryConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="tns:consulServiceDiscovery"/>
- <xs:element ref="tns:dnsServiceDiscovery"/>
- <xs:element ref="tns:kubernetesServiceDiscovery"/>
- <xs:element ref="tns:staticServiceDiscovery"/>
- <xs:element ref="tns:cachingServiceDiscovery"/>
- </xs:choice>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
+ </xs:simpleContent>
</xs:complexType>
- <xs:complexType name="staticServiceCallServiceDiscoveryConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
- <xs:sequence>
- <xs:element maxOccurs="unbounded" minOccurs="0" name="servers" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:complexType name="xmlTokenizerExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:namespaceAwareExpression">
+ <xs:attribute name="mode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the server list. Each entry can be a list of servers separated by comma in the format:
-servicehost:port,servicehost2:port,servicehost3:port.
+The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the
+extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to
+its child content t - extracting the text content of the specified element. Default value: i
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="combinedServiceCallServiceFilterConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceFilterConfiguration">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="tns:blacklistServiceFilter"/>
- <xs:element ref="tns:customServiceFilter"/>
- <xs:element ref="tns:healthyServiceFilter"/>
- <xs:element ref="tns:passThroughServiceFilter"/>
- </xs:choice>
- </xs:sequence>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="customServiceCallServiceFilterConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceFilterConfiguration">
- <xs:sequence/>
- <xs:attribute name="ref" type="xs:string">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="group" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Reference of a ServiceFilter.
+To group N parts together.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="healthyServiceCallServiceFilterConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceFilterConfiguration">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="passThroughServiceCallServiceFilterConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceFilterConfiguration">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="defaultServiceCallServiceLoadBalancerConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallServiceLoadBalancerConfiguration">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="serviceCallServiceLoadBalancerConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallConfiguration">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
+ </xs:simpleContent>
</xs:complexType>
- <xs:complexType name="serviceCallConfigurationDefinition">
- <xs:complexContent>
- <xs:extension base="tns:identifiedType">
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:element ref="tns:cachingServiceDiscovery"/>
- <xs:element ref="tns:combinedServiceDiscovery"/>
- <xs:element ref="tns:consulServiceDiscovery"/>
- <xs:element ref="tns:dnsServiceDiscovery"/>
- <xs:element ref="tns:kubernetesServiceDiscovery"/>
- <xs:element ref="tns:staticServiceDiscovery"/>
- <xs:element ref="tns:zookeeperServiceDiscovery"/>
- </xs:choice>
- <xs:choice minOccurs="0">
- <xs:element ref="tns:blacklistServiceFilter"/>
- <xs:element ref="tns:combinedServiceFilter"/>
- <xs:element ref="tns:customServiceFilter"/>
- <xs:element ref="tns:healthyServiceFilter"/>
- <xs:element ref="tns:passThroughServiceFilter"/>
- </xs:choice>
- <xs:element minOccurs="0" ref="tns:defaultLoadBalancer"/>
- <xs:element minOccurs="0" name="expression" type="tns:serviceCallExpressionConfiguration">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:complexType name="xPathExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:namespaceAwareExpression">
+ <xs:attribute name="documentType" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Configures the Expression using the given configuration.
+Name of class for document type The default value is org.w3c.dom.Document.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="uri" type="xs:string">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="resultQName" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The uri of the endpoint to send to. The uri can be dynamic computed using the simple language expression.
+Sets the output type supported by XPath. Default value: NODESET
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="component" type="xs:string">
+ <xs:attribute name="saxon" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The component to use. Default value: http
+Whether to use Saxon. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="pattern" type="xs:string">
+ <xs:attribute name="factoryRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the optional ExchangePattern used to invoke this endpoint.
+References to a custom XPathFactory to lookup in the registry.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="serviceDiscoveryRef" type="xs:string">
+ <xs:attribute name="objectModel" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceDiscovery to use.
+The XPath object model to use.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="serviceFilterRef" type="xs:string">
+ <xs:attribute name="logNamespaces" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceFilter to use.
+Whether to log namespaces which can assist during troubleshooting. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="serviceChooserRef" type="xs:string">
+ <xs:attribute name="threadSafety" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceChooser to use.
+Whether to enable thread-safety for the returned result of the xpath expression. This applies to when using NODESET as
+the result type, and the returned set has multiple elements. In this situation there can be thread-safety issues if you
+process the NODESET concurrently such as from a Camel Splitter EIP in parallel processing mode. This option prevents
+concurrency issues by doing defensive copies of the nodes. It is recommended to turn this option on if you are using
+camel-saxon or Saxon in your application. Saxon has thread-safety issues which can be prevented by turning this option
+on. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="loadBalancerRef" type="xs:string">
+ <xs:attribute name="preCompile" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceLoadBalancer to use.
+Whether to enable pre-compiling the xpath expression during initialization phase. pre-compile is enabled by default.
+This can be used to turn off, for example in cases the compilation phase is desired at the starting phase, such as if
+the application is ahead of time compiled (for example with camel-quarkus) which would then load the xpath factory of
+the built operating system, and not a JVM runtime. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="expressionRef" type="xs:string">
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ <xs:complexType name="xQueryExpression">
+ <xs:simpleContent>
+ <xs:extension base="tns:namespaceAwareExpression">
+ <xs:attribute name="configurationRef" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Set a reference to a custom Expression to use.
+Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon). This may be needed
+to add custom functions to a saxon configuration, so these custom functions can be used in xquery expressions.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
- </xs:complexContent>
+ </xs:simpleContent>
</xs:complexType>
- <xs:complexType name="zooKeeperServiceCallServiceDiscoveryConfiguration">
+ <xs:complexType name="apiKeyDefinition">
<xs:complexContent>
- <xs:extension base="tns:serviceCallServiceDiscoveryConfiguration">
+ <xs:extension base="tns:restSecurityDefinition">
<xs:sequence/>
- <xs:attribute name="nodes" type="xs:string" use="required">
+ <xs:attribute name="name" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-A comma separate list of servers to connect to in the form host:port.
+The name of the header or query parameter to be used.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="namespace" type="xs:string">
+ <xs:attribute name="inHeader" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-As ZooKeeper is a shared space, users of a given cluster should stay within a pre-defined namespace. If a namespace is
-set here, all paths will get pre-pended with the namespace.
+To use header as the location of the API key. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="reconnectBaseSleepTime" type="xs:string">
+ <xs:attribute name="inQuery" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Initial amount of time to wait between retries.
+To use query parameter as the location of the API key. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="reconnectMaxSleepTime" type="xs:string">
+ <xs:attribute name="inCookie" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Max time in ms to sleep on each retry.
+To use a cookie as the location of the API key. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="reconnectMaxRetries" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="restSecurityDefinition">
+ <xs:sequence/>
+ <xs:attribute name="key" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Key used to refer to this security definition.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="description" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+A short description for security scheme.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="basicAuthDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:restSecurityDefinition">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="bearerTokenDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:restSecurityDefinition">
+ <xs:sequence/>
+ <xs:attribute name="format" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Max number of times to retry.
+A hint to the client to identify how the bearer token is formatted.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="sessionTimeout" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="deleteDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:verbDefinition">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType abstract="true" name="verbDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:optionalIdentifiedDefinition">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:param"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:responseMessage"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:security"/>
+ <xs:element ref="tns:to"/>
+ </xs:sequence>
+ <xs:attribute name="path" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Session timeout.
+The path mapping URIs of this REST operation such as /{id}.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="connectionTimeout" type="xs:string">
+ <xs:attribute name="consumes" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Connection timeout.
+To define the content type what the REST service consumes (accept as input), such as application/xml or
+application/json. This option will override what may be configured on a parent level.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="basePath" type="xs:string" use="required">
+ <xs:attribute name="produces" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Set the base path to store in ZK.
+To define the content type what the REST service produces (uses for output), such as application/xml or application/json
+This option will override what may be configured on a parent level.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="serviceCallExpressionConfiguration">
- <xs:complexContent>
- <xs:extension base="tns:serviceCallConfiguration">
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:element ref="tns:expressionDefinition"/>
- <xs:element ref="tns:csimple"/>
- <xs:element ref="tns:constant"/>
- <xs:element ref="tns:datasonnet"/>
- <xs:element ref="tns:exchangeProperty"/>
- <xs:element ref="tns:groovy"/>
- <xs:element ref="tns:header"/>
- <xs:element ref="tns:hl7terser"/>
- <xs:element ref="tns:js"/>
- <xs:element ref="tns:joor"/>
- <xs:element ref="tns:jq"/>
- <xs:element ref="tns:jsonpath"/>
- <xs:element ref="tns:language"/>
- <xs:element ref="tns:method"/>
- <xs:element ref="tns:mvel"/>
- <xs:element ref="tns:ognl"/>
- <xs:element ref="tns:python"/>
- <xs:element ref="tns:ref"/>
- <xs:element ref="tns:simple"/>
- <xs:element ref="tns:spel"/>
- <xs:element ref="tns:tokenize"/>
- <xs:element ref="tns:xtokenize"/>
- <xs:element ref="tns:xpath"/>
- <xs:element ref="tns:xquery"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="hostHeader" type="xs:string">
+ <xs:attribute name="disabled" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The header that holds the service host information, default ServiceCallConstants.SERVICE_HOST. Default value:
-CamelServiceCallServiceHost
+Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it
+cannot be enabled later at runtime. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="portHeader" type="xs:string">
+ <xs:attribute name="type" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The header that holds the service port information, default ServiceCallConstants.SERVICE_PORT. Default value:
-CamelServiceCallServicePort
+Sets the class name to use for binding from input to POJO for the incoming data This option will override what may be
+configured on a parent level. The name of the class of the input data. Append a to the end of the name if you want the
+input to be an array type.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="serviceCallDefinition">
- <xs:complexContent>
- <xs:extension base="tns:noOutputDefinition">
- <xs:sequence>
- <xs:choice minOccurs="0">
- <xs:element ref="tns:cachingServiceDiscovery"/>
- <xs:element ref="tns:combinedServiceDiscovery"/>
- <xs:element ref="tns:consulServiceDiscovery"/>
- <xs:element ref="tns:dnsServiceDiscovery"/>
- <xs:element ref="tns:kubernetesServiceDiscovery"/>
- <xs:element ref="tns:staticServiceDiscovery"/>
- <xs:element ref="tns:zookeeperServiceDiscovery"/>
- </xs:choice>
- <xs:choice minOccurs="0">
- <xs:element ref="tns:blacklistServiceFilter"/>
- <xs:element ref="tns:combinedServiceFilter"/>
- <xs:element ref="tns:customServiceFilter"/>
- <xs:element ref="tns:healthyServiceFilter"/>
- <xs:element ref="tns:passThroughServiceFilter"/>
- </xs:choice>
- <xs:element minOccurs="0" ref="tns:defaultLoadBalancer"/>
- <xs:element minOccurs="0" name="expression" type="tns:serviceCallExpressionConfiguration">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:attribute name="outType" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Configures the Expression using the given configuration.
+Sets the class name to use for binding from POJO to output for the outgoing data This option will override what may be
+configured on a parent level The name of the class of the input data. Append a to the end of the name if you want the
+input to be an array type.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:element>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="bindingMode" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the name of the service to use.
+Sets the binding mode to use. This option will override what may be configured on a parent level The default value is
+off. Default value: off
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="uri" type="xs:string">
+ <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The uri of the endpoint to send to. The uri can be dynamic computed using the
-org.apache.camel.language.simple.SimpleLanguage expression.
+Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
+messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may
+be configured on a parent level. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="component" type="xs:string">
+ <xs:attribute name="clientRequestValidation" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The component to use. Default value: http
+Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
+returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
+406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
+validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
+Status 400 if validation error. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="pattern" type="xs:string">
+ <xs:attribute name="enableCORS" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the optional ExchangePattern used to invoke this endpoint.
+Whether to enable CORS headers in the HTTP response. This option will override what may be configured on a parent level
+The default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="configurationRef" type="xs:string">
+ <xs:attribute name="enableNoContentResponse" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Refers to a ServiceCall configuration to use.
+Whether to return HTTP 204 with an empty body when a response contains an empty JSON object or XML root object. The
+default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="serviceDiscoveryRef" type="xs:string">
+ <xs:attribute name="apiDocs" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceDiscovery to use.
+Whether to include or exclude this rest operation in API documentation. The default value is true. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="serviceFilterRef" type="xs:string">
+ <xs:attribute name="deprecated" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceFilter to use.
+Marks this rest operation as deprecated in OpenApi documentation. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="serviceChooserRef" type="xs:string">
+ <xs:attribute name="routeId" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceChooser to use.
+Sets the id of the route.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="loadBalancerRef" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="paramDefinition">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="allowableValues">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter list of allowable values (enum).
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:value"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="examples" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter examples.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter name.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="type" type="tns:restParamType" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter type. Default value: path
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="description" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter description.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="defaultValue" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter default value.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="required" type="xs:boolean">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter required flag. Default value: true
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="collectionFormat" type="tns:collectionFormat">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter collection format. Default value: csv
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="arrayType" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter array type. Required if data type is array. Describes the type of items in the array. Default value:
+string
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="dataType" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter data type. Default value: string
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="dataFormat" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter data format.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="restPropertyDefinition">
+ <xs:sequence/>
+ <xs:attribute name="key" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Property key.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="value" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Property value.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="responseMessageDefinition">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="header" type="tns:responseHeaderDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Adds a response header.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="examples" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Examples of response messages.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="code" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The response code such as a HTTP status code. Default value: 200
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="message" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The response message (description).
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="responseModel" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The response model.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:complexType>
+ <xs:complexType name="responseHeaderDefinition">
+ <xs:sequence>
+ <xs:element minOccurs="0" name="allowableValues">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter list of allowable values.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" ref="tns:value"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="name" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Name of the parameter. This option is mandatory.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="description" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Description of the parameter.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="collectionFormat" type="tns:collectionFormat">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter collection format. Default value: csv
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="arrayType" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the parameter array type. Required if data type is array. Describes the type of items in the array. Default value:
+string
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="dataType" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the header data type. Default value: string
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="dataFormat" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets a reference to a custom ServiceLoadBalancer to use.
+Sets the parameter data format.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="expressionRef" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="example" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Set a reference to a custom Expression to use.
+Sets the example.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:complexContent>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
- <xs:complexType final="extension restriction" name="serviceCallDefinitionConstants">
+ <xs:complexType name="securityDefinition">
<xs:sequence/>
+ <xs:attribute name="key" type="xs:string" use="required">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Key used to refer to this security definition.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="scopes" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The scopes to allow (separate multiple scopes by comma).
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
- <xs:complexType name="serviceCallServiceChooserConfiguration">
+ <xs:complexType name="getDefinition">
<xs:complexContent>
- <xs:extension base="tns:serviceCallConfiguration">
+ <xs:extension base="tns:verbDefinition">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="dataFormatsDefinition">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded" minOccurs="0">
- <xs:element ref="tns:asn1"/>
- <xs:element ref="tns:avro"/>
- <xs:element ref="tns:barcode"/>
- <xs:element ref="tns:base64"/>
- <xs:element ref="tns:bindy"/>
- <xs:element ref="tns:cbor"/>
- <xs:element ref="tns:crypto"/>
- <xs:element ref="tns:csv"/>
- <xs:element ref="tns:custom"/>
- <xs:element ref="tns:fhirJson"/>
- <xs:element ref="tns:fhirXml"/>
- <xs:element ref="tns:flatpack"/>
- <xs:element ref="tns:grok"/>
- <xs:element ref="tns:gzipDeflater"/>
- <xs:element ref="tns:hl7"/>
- <xs:element ref="tns:ical"/>
- <xs:element ref="tns:jacksonXml"/>
- <xs:element ref="tns:jaxb"/>
- <xs:element ref="tns:json"/>
- <xs:element ref="tns:jsonApi"/>
- <xs:element ref="tns:lzf"/>
- <xs:element ref="tns:mimeMultipart"/>
- <xs:element ref="tns:parquetAvro"/>
- <xs:element ref="tns:pgp"/>
- <xs:element ref="tns:protobuf"/>
- <xs:element ref="tns:rss"/>
- <xs:element ref="tns:soap"/>
- <xs:element ref="tns:swiftMt"/>
- <xs:element ref="tns:swiftMx"/>
- <xs:element ref="tns:syslog"/>
- <xs:element ref="tns:tarFile"/>
- <xs:element ref="tns:thrift"/>
- <xs:element ref="tns:tidyMarkup"/>
- <xs:element ref="tns:univocityCsv"/>
- <xs:element ref="tns:univocityFixed"/>
- <xs:element ref="tns:univocityTsv"/>
- <xs:element ref="tns:xmlSecurity"/>
- <xs:element ref="tns:yaml"/>
- <xs:element ref="tns:zipDeflater"/>
- <xs:element ref="tns:zipFile"/>
- </xs:choice>
- </xs:sequence>
- </xs:complexType>
- <xs:complexType name="refErrorHandlerDefinition">
+ <xs:complexType name="headDefinition">
<xs:complexContent>
- <xs:extension base="tns:baseErrorHandlerDefinition">
+ <xs:extension base="tns:verbDefinition">
<xs:sequence/>
- <xs:attribute name="ref" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-References to an existing or custom error handler.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
- <xs:complexType name="cSimpleExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="typedExpressionDefinition">
- <xs:simpleContent>
- <xs:extension base="tns:expression">
- <xs:attribute name="resultType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Sets the class of the result type (type from output).
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="constantExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="datasonnetExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition">
- <xs:attribute name="bodyMediaType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The String representation of the message's body MediaType.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="outputMediaType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-The String representation of the MediaType to output.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="exchangePropertyExpression">
- <xs:simpleContent>
- <xs:extension base="tns:expression"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="groovyExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="headerExpression">
- <xs:simpleContent>
- <xs:extension base="tns:expression"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="hl7TerserExpression">
- <xs:simpleContent>
- <xs:extension base="tns:singleInputTypedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="singleInputTypedExpressionDefinition">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition">
- <xs:attribute name="headerName" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are
-set.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="propertyName" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
-<![CDATA[
-Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are
-set.
-]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
+ <xs:complexType name="mutualTLSDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:restSecurityDefinition">
+ <xs:sequence/>
</xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="javaScriptExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
+ </xs:complexContent>
</xs:complexType>
- <xs:complexType name="joorExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition">
- <xs:attribute name="preCompile" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:complexType name="oAuth2Definition">
+ <xs:complexContent>
+ <xs:extension base="tns:restSecurityDefinition">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="scopes" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether the expression should be pre compiled once during initialization phase. If this is turned off, then the
-expression is reloaded and compiled on each evaluation. Default value: true
+The available scopes for an OAuth2 security scheme.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="singleQuotes" type="xs:string">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="authorizationUrl" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether single quotes can be used as replacement for double quotes. This is convenient when you need to work with
-strings inside strings. Default value: true
+The authorization URL to be used for this flow. This SHOULD be in the form of a URL. Required for implicit and access
+code flows.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="jqExpression">
- <xs:simpleContent>
- <xs:extension base="tns:singleInputTypedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="jsonPathExpression">
- <xs:simpleContent>
- <xs:extension base="tns:singleInputTypedExpressionDefinition">
- <xs:attribute name="suppressExceptions" type="xs:string">
+ <xs:attribute name="tokenUrl" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to suppress exceptions such as PathNotFoundException. Default value: false
+The token URL to be used for this flow. This SHOULD be in the form of a URL. Required for password, application, and
+access code flows.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="allowSimple" type="xs:string">
+ <xs:attribute name="refreshUrl" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to allow in inlined Simple exceptions in the JSONPath expression. Default value: true
+The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="allowEasyPredicate" type="xs:string">
+ <xs:attribute name="flow" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to allow using the easy predicate parser to pre-parse predicates. Default value: true
+The flow used by the OAuth2 security scheme. Valid values are implicit, password, application or accessCode.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="writeAsString" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="openIdConnectDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:restSecurityDefinition">
+ <xs:sequence/>
+ <xs:attribute name="url" type="xs:string" use="required">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to write the output of each row/element as a JSON String value instead of a Map/POJO value. Default value: false
+OpenId Connect URL to discover OAuth2 configuration values.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="unpackArray" type="xs:string">
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="patchDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:verbDefinition">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="postDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:verbDefinition">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="putDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:verbDefinition">
+ <xs:sequence/>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+ <xs:complexType name="restBindingDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:optionalIdentifiedDefinition">
+ <xs:sequence/>
+ <xs:attribute name="consumes" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to unpack a single element json-array into an object. Default value: false
+To define the content type what the REST service consumes (accept as input), such as application/xml or
+application/json.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="option" type="xs:string">
+ <xs:attribute name="produces" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To configure additional options on JSONPath. Multiple values can be separated by comma.
+To define the content type what the REST service produces (uses for output), such as application/xml or
+application/json.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="languageExpression">
- <xs:simpleContent>
- <xs:extension base="tns:expression">
- <xs:attribute name="language" type="xs:string" use="required">
+ <xs:attribute name="bindingMode" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-The name of the language to use.
+Sets the binding mode to use. The default value is off. Default value: off
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="methodCallExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition">
- <xs:attribute name="ref" type="xs:string">
+ <xs:attribute name="type" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Reference to an existing bean (bean id) to lookup in the registry.
+Sets the class name to use for binding from input to POJO for the incoming data The name of the class of the input data.
+Append a to the end of the name if you want the input to be an array type.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="method" type="xs:string">
+ <xs:attribute name="outType" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Name of method to call.
+Sets the class name to use for binding from POJO to output for the outgoing data The name of the class of the input
+data. Append a to the end of the name if you want the input to be an array type.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="beanType" type="xs:string">
+ <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Class name (fully qualified) of the bean to use Will lookup in registry and if there is a single instance of the same
-type, then the existing bean is used, otherwise a new bean is created (requires a default no-arg constructor).
+Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
+messages that do not bind to json / xml etc, as success messages otherwise will do. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="scope" type="xs:string">
+ <xs:attribute name="clientRequestValidation" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the
-lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same
-time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you
-want to store state on a bean while processing a request and you want to call the same bean instance multiple times
-while processing the request. The bean does not have to be thread-safe as the instance is only called from the same
-request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then
-this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act
-as either singleton or prototype scope. So when using prototype scope then this depends on the bean registry
-implementation. Default value: Singleton
+Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
+returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
+406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
+validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
+Status 400 if validation error. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="validate" type="xs:string">
+ <xs:attribute name="enableCORS" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to validate the bean has the configured method. Default value: true
+Whether to enable CORS headers in the HTTP response. The default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="mvelExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="namespaceAwareExpression">
- <xs:simpleContent>
- <xs:extension base="tns:singleInputExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType abstract="true" name="singleInputExpressionDefinition">
- <xs:simpleContent>
- <xs:extension base="tns:expression">
- <xs:attribute name="headerName" type="xs:string">
+ <xs:attribute name="enableNoContentResponse" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Name of header to use as input, instead of the message body It has as higher precedent than the propertyName if both are
-set.
+Whether to return HTTP 204 with an empty body when a response contains an empty JSON object or XML root object. The
+default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="propertyName" type="xs:string">
+ <xs:attribute name="component" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Name of property to use as input, instead of the message body. It has a lower precedent than the headerName if both are
-set.
+Sets the component name that this definition will apply to.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="ognlExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="pythonExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="refExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="simpleExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="spELExpression">
- <xs:simpleContent>
- <xs:extension base="tns:typedExpressionDefinition"/>
- </xs:simpleContent>
+ </xs:complexContent>
</xs:complexType>
- <xs:complexType name="tokenizerExpression">
- <xs:simpleContent>
- <xs:extension base="tns:singleInputExpressionDefinition">
- <xs:attribute name="token" type="xs:string" use="required">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:complexType name="restConfigurationDefinition">
+ <xs:sequence>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="componentProperty" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Allows to configure as many additional properties for the rest component in use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="endpointProperty" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Allows to configure as many additional properties for the rest endpoint in use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="consumerProperty" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Allows to configure as many additional properties for the rest consumer in use.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="dataFormatProperty" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Allows to configure as many additional properties for the data formats in use. For example set property prettyPrint to
+true to have json outputted in pretty mode. The properties can be prefixed to denote the option is only for either JSON
+or XML and for either the IN or the OUT. The prefixes are: json.in. json.out. xml.in. xml.out. For example a key with
+value xml.out.mustBeJAXBElement is only for the XML data format for the outgoing. A key without a prefix is a common key
+for all situations.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="apiProperty" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Allows to configure as many additional properties for the api documentation. For example set property api.title to my
+cool stuff.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="corsHeaders" type="tns:restPropertyDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Allows to configure custom CORS headers.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ <xs:attribute name="component" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The Camel Rest component to use for the REST transport (consumer), such as netty-http, jetty, servlet, undertow. If no
+component has been explicit configured, then Camel will lookup if there is a Camel component that integrates with the
+Rest DSL, or if a org.apache.camel.spi.RestConsumerFactory is registered in the registry. If either one is found, then
+that is being used.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="apiComponent" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+The name of the Camel component to use as the REST API. If no API Component has been explicit configured, then Camel
+will lookup if there is a Camel component responsible for servicing and generating the REST API documentation, or if a
+org.apache.camel.spi.RestApiProcessorFactory is registered in the registry. If either one is found, then that is being
+used.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="producerComponent" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
+<![CDATA[
+Sets the name of the Camel component to use as the REST producer.
+]]>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="scheme" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-The (start) token to use as tokenizer, for example you can use the new line token. You can use simple language as the
-token to support dynamic tokens.
+The scheme to use for exposing the REST service. Usually http or https is supported. The default value is http.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="endToken" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="host" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-The end token to use as tokenizer if using start/end token pairs. You can use simple language as the token to support
-dynamic tokens.
+The hostname to use for exposing the REST service.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="inheritNamespaceTagName" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="port" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-To inherit namespaces from a root/parent tag name when using XML You can use simple language as the tag name to support
-dynamic names.
+The port number to use for exposing the REST service. Notice if you use servlet component then the port number
+configured here does not apply, as the port number in use is the actual port number the servlet component is using. eg
+if using Apache Tomcat its the tomcat http port, if using Apache Karaf its the HTTP service in Karaf that uses port 8181
+by default etc. Though in those situations setting the port number here, allows tooling and JMX to know the port number,
+so its recommended to set the port number to the number that the servlet engine uses.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="regex" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="apiHost" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-If the token is a regular expression pattern. The default value is false. Default value: false
+To use a specific hostname for the API documentation (such as swagger or openapi) This can be used to override the
+generated host with this configured hostname.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="xml" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="useXForwardHeaders" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether the input is XML messages. This option must be set to true if working with XML payloads. Default value: false
+Whether to use X-Forward headers for Host and related setting. The default value is true. Default value: true
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="includeTokens" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="producerApiDoc" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to include the tokens in the parts when using pairs. When including tokens then the endToken property must also
-be configured (to use pair mode). The default value is false. Default value: false
+Sets the location of the api document the REST producer will use to validate the REST uri and query parameters are valid
+accordingly to the api document. The location of the api document is loaded from classpath by default, but you can use
+file: or http: to refer to resources to load from file or http url.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="group" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="contextPath" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-To group N parts together, for example to split big files into chunks of 1000 lines. You can use simple language as the
-group to support dynamic group sizes.
+Sets a leading context-path the REST services will be using. This can be used when using components such as
+camel-servlet where the deployed web application is deployed using a context-path. Or for components such as camel-jetty
+or camel-netty-http that includes a HTTP server.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="groupDelimiter" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="apiContextPath" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the delimiter to use when grouping. If this has not been set then token will be used as the delimiter.
+Sets a leading API context-path the REST API services will be using. This can be used when using components such as
+camel-servlet where the deployed web application is deployed using a context-path.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="skipFirst" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="apiContextRouteId" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-To skip the very first element. Default value: false
+Sets the route id to use for the route that services the REST API. The route will by default use an auto assigned route
+id.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="xmlTokenizerExpression">
- <xs:simpleContent>
- <xs:extension base="tns:namespaceAwareExpression">
- <xs:attribute name="mode" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="apiVendorExtension" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-The extraction mode. The available extraction modes are: i - injecting the contextual namespace bindings into the
-extracted token (default) w - wrapping the extracted token in its ancestor context u - unwrapping the extracted token to
-its child content t - extracting the text content of the specified element. Default value: i
+Whether vendor extension is enabled in the Rest APIs. If enabled then Camel will include additional information as
+vendor extension (eg keys starting with x-) such as route ids, class names etc. Not all 3rd party API gateways and tools
+supports vendor-extensions when importing your API docs. Default value: false
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="group" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="hostNameResolver" type="tns:restHostNameResolver">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-To group N parts together.
+If no hostname has been explicit configured, then this resolver is used to compute the hostname the REST service will be
+using. Default value: allLocalIp
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="xPathExpression">
- <xs:simpleContent>
- <xs:extension base="tns:namespaceAwareExpression">
- <xs:attribute name="documentType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="bindingMode" type="tns:restBindingMode">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Name of class for document type The default value is org.w3c.dom.Document.
+Sets the binding mode to use. The default value is off. Default value: off
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="resultType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the class name of the result type (type from output) The default result type is NodeSet. Default value: NODESET
+Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
+messages that do not bind to json / xml etc, as success messages otherwise will do. Default value: false
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="saxon" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="clientRequestValidation" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to use Saxon. Default value: false
+Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
+returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
+406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
+validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
+Status 400 if validation error. Default value: false
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="factoryRef" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="enableCORS" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-References to a custom XPathFactory to lookup in the registry.
+Whether to enable CORS headers in the HTTP response. The default value is false. Default value: false
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="objectModel" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="enableNoContentResponse" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-The XPath object model to use.
+Whether to return HTTP 204 with an empty body when a response contains an empty JSON object or XML root object. The
+default value is false. Default value: false
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="logNamespaces" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="inlineRoutes" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to log namespaces which can assist during troubleshooting. Default value: false
+Inline routes in rest-dsl which are linked using direct endpoints. By default, each service in Rest DSL is an individual
+route, meaning that you would have at least two routes per service (rest-dsl, and the route linked from rest-dsl).
+Enabling this allows Camel to optimize and inline this as a single route, however this requires to use direct endpoints,
+which must be unique per service. This option is default false. Default value: false
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="threadSafety" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="jsonDataFormat" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable thread-safety for the returned result of the xpath expression. This applies to when using NODESET as
-the result type, and the returned set has multiple elements. In this situation there can be thread-safety issues if you
-process the NODESET concurrently such as from a Camel Splitter EIP in parallel processing mode. This option prevents
-concurrency issues by doing defensive copies of the nodes. It is recommended to turn this option on if you are using
-camel-saxon or Saxon in your application. Saxon has thread-safety issues which can be prevented by turning this option
-on. Default value: false
+Name of specific json data format to use. By default jackson will be used. Important: This option is only for setting a
+custom name of the data format, not to refer to an existing data format instance.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="preCompile" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ <xs:attribute name="xmlDataFormat" type="xs:string">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable pre-compiling the xpath expression during initialization phase. pre-compile is enabled by default.
-This can be used to turn off, for example in cases the compilation phase is desired at the starting phase, such as if
-the application is ahead of time compiled (for example with camel-quarkus) which would then load the xpath factory of
-the built operating system, and not a JVM runtime. Default value: true
+Name of specific XML data format to use. By default jaxb will be used. Important: This option is only for setting a
+custom name of the data format, not to refer to an existing data format instance.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- </xs:extension>
- </xs:simpleContent>
+ </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
</xs:complexType>
- <xs:complexType name="xQueryExpression">
- <xs:simpleContent>
- <xs:extension base="tns:namespaceAwareExpression">
- <xs:attribute name="resultType" type="xs:string">
- <xs:annotation>
- <xs:documentation xml:lang="en">
+ <xs:complexType name="restDefinition">
+ <xs:complexContent>
+ <xs:extension base="tns:optionalIdentifiedDefinition">
+ <xs:sequence>
+ <xs:element minOccurs="0" ref="tns:securityDefinitions"/>
+ <xs:element maxOccurs="unbounded" minOccurs="0" name="securityRequirements" type="tns:securityDefinition">
+ <xs:annotation>
+ <xs:documentation xml:lang="en">
<![CDATA[
-Sets the class of the result type (type from output).
+Sets the security requirement(s) for all endpoints.
]]>
- </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="type" type="xs:string">
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="tns:delete"/>
+ <xs:element ref="tns:get"/>
+ <xs:element ref="tns:head"/>
+ <xs:element ref="tns:patch"/>
+ <xs:element ref="tns:post"/>
+ <xs:element ref="tns:put"/>
+ </xs:choice>
+ </xs:sequence>
+ <xs:attribute name="path" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the class name of the result type (type from output) The default result type is NodeSet.
+Path of the rest service, such as /foo.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="configurationRef" type="xs:string">
+ <xs:attribute name="consumes" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Reference to a saxon configuration instance in the registry to use for xquery (requires camel-saxon). This may be needed
-to add custom functions to a saxon configuration, so these custom functions can be used in xquery expressions.
+To define the content type what the REST service consumes (accept as input), such as application/xml or
+application/json. This option will override what may be configured on a parent level.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:extension>
- </xs:simpleContent>
- </xs:complexType>
- <xs:complexType name="deleteDefinition">
- <xs:complexContent>
- <xs:extension base="tns:verbDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="getDefinition">
- <xs:complexContent>
- <xs:extension base="tns:verbDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="headDefinition">
- <xs:complexContent>
- <xs:extension base="tns:verbDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="patchDefinition">
- <xs:complexContent>
- <xs:extension base="tns:verbDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="postDefinition">
- <xs:complexContent>
- <xs:extension base="tns:verbDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="putDefinition">
- <xs:complexContent>
- <xs:extension base="tns:verbDefinition">
- <xs:sequence/>
- </xs:extension>
- </xs:complexContent>
- </xs:complexType>
- <xs:complexType name="restBindingDefinition">
- <xs:complexContent>
- <xs:extension base="tns:optionalIdentifiedDefinition">
- <xs:sequence/>
- <xs:attribute name="consumes" type="xs:string">
+ <xs:attribute name="produces" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To define the content type what the REST service consumes (accept as input), such as application/xml or
-application/json.
+To define the content type what the REST service produces (uses for output), such as application/xml or application/json
+This option will override what may be configured on a parent level.
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="produces" type="xs:string">
+ <xs:attribute name="disabled" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-To define the content type what the REST service produces (uses for output), such as application/xml or
-application/json.
+Whether to disable this REST service from the route during build time. Once an REST service has been disabled then it
+cannot be enabled later at runtime. Default value: false
]]>
</xs:documentation>
</xs:annotation>
@@ -16172,68 +16854,71 @@ application/json.
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the binding mode to use. The default value is off. Default value: off
+Sets the binding mode to use. This option will override what may be configured on a parent level The default value is
+auto. Default value: off
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="type" type="xs:string">
+ <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the class name to use for binding from input to POJO for the incoming data The name of the class of the input data.
-Append a to the end of the name if you want the input to be an array type.
+Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
+messages that do not bind to json / xml etc, as success messages otherwise will do. This option will override what may
+be configured on a parent level. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="outType" type="xs:string">
+ <xs:attribute name="clientRequestValidation" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the class name to use for binding from POJO to output for the outgoing data The name of the class of the input
-data. Append a to the end of the name if you want the input to be an array type.
+Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
+returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
+406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
+validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
+Status 400 if validation error. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="skipBindingOnErrorCode" type="xs:string">
+ <xs:attribute name="enableCORS" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to skip binding on output if there is a custom HTTP error code header. This allows to build custom error
-messages that do not bind to json / xml etc, as success messages otherwise will do. Default value: false
+Whether to enable CORS headers in the HTTP response. This option will override what may be configured on a parent level
+The default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="clientRequestValidation" type="xs:string">
+ <xs:attribute name="enableNoContentResponse" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable validation of the client request to check: 1) Content-Type header matches what the Rest DSL consumes;
-returns HTTP Status 415 if validation error. 2) Accept header matches what the Rest DSL produces; returns HTTP Status
-406 if validation error. 3) Missing required data (query parameters, HTTP headers, body); returns HTTP Status 400 if
-validation error. 4) Parsing error of the message body (JSon, XML or Auto binding mode must be enabled); returns HTTP
-Status 400 if validation error. Default value: false
+Whether to return HTTP 204 with an empty body when a response contains an empty JSON object or XML root object. The
+default value is false. Default value: false
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="enableCORS" type="xs:string">
+ <xs:attribute name="apiDocs" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Whether to enable CORS headers in the HTTP response. The default value is false. Default value: false
+Whether to include or exclude this rest operation in API documentation. This option will override what may be configured
+on a parent level. The default value is true. Default value: true
]]>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- <xs:attribute name="component" type="xs:string">
+ <xs:attribute name="tag" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
<![CDATA[
-Sets the component name that this definition will apply to.
+To configure a special tag for the operations within this rest definition.
]]>
</xs:documentation>
</xs:annotation>
@@ -16241,6 +16926,18 @@ Sets the component name that this definition will apply to.
</xs:extension>
</xs:complexContent>
</xs:complexType>
+ <xs:complexType name="restSecuritiesDefinition">
+ <xs:sequence>
+ <xs:choice maxOccurs="unbounded" minOccurs="0">
+ <xs:element ref="tns:apiKey"/>
+ <xs:element ref="tns:basicAuth"/>
+ <xs:element name="bearer" type="tns:bearerTokenDefinition"/>
+ <xs:element ref="tns:oauth2"/>
+ <xs:element ref="tns:openIdConnect"/>
+ <xs:element ref="tns:mutualTLS"/>
+ </xs:choice>
+ </xs:sequence>
+ </xs:complexType>
<xs:complexType name="restsDefinition">
<xs:complexContent>
<xs:extension base="tns:optionalIdentifiedDefinition">
@@ -16275,6 +16972,7 @@ Sets the component name that this definition will apply to.
<xs:element ref="tns:avro"/>
<xs:element ref="tns:barcode"/>
<xs:element ref="tns:base64"/>
+ <xs:element ref="tns:beanio"/>
<xs:element ref="tns:bindy"/>
<xs:element ref="tns:cbor"/>
<xs:element ref="tns:crypto"/>
@@ -16378,6 +17076,7 @@ Sets the component name that this definition will apply to.
<xs:element ref="tns:groovy"/>
<xs:element ref="tns:header"/>
<xs:element ref="tns:hl7terser"/>
+ <xs:element ref="tns:java"/>
<xs:element ref="tns:js"/>
<xs:element ref="tns:joor"/>
<xs:element ref="tns:jq"/>
@@ -16391,6 +17090,8 @@ Sets the component name that this definition will apply to.
<xs:element ref="tns:simple"/>
<xs:element ref="tns:spel"/>
<xs:element ref="tns:tokenize"/>
+ <xs:element ref="tns:variable"/>
+ <xs:element ref="tns:wasm"/>
<xs:element ref="tns:xtokenize"/>
<xs:element ref="tns:xpath"/>
<xs:element ref="tns:xquery"/>
@@ -17217,29 +17918,23 @@ An optional certificate alias to use. This is useful when the keystore has multi
<xs:enumeration value="NEVER"/>
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="restHostNameResolver">
+ <xs:simpleType name="throttlingMode">
<xs:restriction base="xs:string">
- <xs:enumeration value="allLocalIp"/>
- <xs:enumeration value="localIp"/>
- <xs:enumeration value="localHostName"/>
+ <xs:enumeration value="TotalRequests"/>
+ <xs:enumeration value="ConcurrentRequests"/>
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="restBindingMode">
+ <xs:simpleType name="bindyType">
<xs:restriction base="xs:string">
- <xs:enumeration value="auto"/>
- <xs:enumeration value="off"/>
- <xs:enumeration value="json"/>
- <xs:enumeration value="xml"/>
- <xs:enumeration value="json_xml"/>
+ <xs:enumeration value="Csv"/>
+ <xs:enumeration value="Fixed"/>
+ <xs:enumeration value="KeyValue"/>
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="restParamType">
+ <xs:simpleType name="yamlTypeFilterType">
<xs:restriction base="xs:string">
- <xs:enumeration value="body"/>
- <xs:enumeration value="formData"/>
- <xs:enumeration value="header"/>
- <xs:enumeration value="path"/>
- <xs:enumeration value="query"/>
+ <xs:enumeration value="type"/>
+ <xs:enumeration value="regexp"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="collectionFormat">
@@ -17251,17 +17946,29 @@ An optional certificate alias to use. This is useful when the keystore has multi
<xs:enumeration value="multi"/>
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="bindyType">
+ <xs:simpleType name="restParamType">
<xs:restriction base="xs:string">
- <xs:enumeration value="Csv"/>
- <xs:enumeration value="Fixed"/>
- <xs:enumeration value="KeyValue"/>
+ <xs:enumeration value="body"/>
+ <xs:enumeration value="formData"/>
+ <xs:enumeration value="header"/>
+ <xs:enumeration value="path"/>
+ <xs:enumeration value="query"/>
</xs:restriction>
</xs:simpleType>
- <xs:simpleType name="yamlTypeFilterType">
+ <xs:simpleType name="restBindingMode">
<xs:restriction base="xs:string">
- <xs:enumeration value="type"/>
- <xs:enumeration value="regexp"/>
+ <xs:enumeration value="auto"/>
+ <xs:enumeration value="off"/>
+ <xs:enumeration value="json"/>
+ <xs:enumeration value="xml"/>
+ <xs:enumeration value="json_xml"/>
+ </xs:restriction>
+ </xs:simpleType>
+ <xs:simpleType name="restHostNameResolver">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="allLocalIp"/>
+ <xs:enumeration value="localIp"/>
+ <xs:enumeration value="localHostName"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="springErrorHandlerType">