This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit ba278d568b3daa47d3ab284e287c433ee6ddf5c0 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon May 15 09:43:23 2023 +0200 Regen Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- .../camel/catalog/models/circuitBreaker.json | 3 +- .../apache/camel/catalog/models/onFallback.json | 2 +- .../catalog/models/resilience4jConfiguration.json | 7 + .../apache/camel/catalog/schemas/camel-spring.xsd | 512 ++++++++++++--------- 4 files changed, 293 insertions(+), 231 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/circuitBreaker.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/circuitBreaker.json index da76484728a..49cf060b694 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/circuitBreaker.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/circuitBreaker.json @@ -12,9 +12,10 @@ "output": false }, "properties": { + "configuration": { "kind": "attribute", "displayName": "Configuration", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a circuit breaker configuration (such as resillience4j, or microprofile-fault-tolerance) to use for configuring the circuit breaker EIP." }, "resilience4jConfiguration": { "kind": "element", "displayName": "Resilience4j Configuration", "required": false, "type": "object", "javaType": "org.apache.camel.model.Resilience4jConfigurationDefinition", "deprecated": false, "autowired": false, "secret": false, "description": "Configures the circuit breaker to use Resilience4j with the given configuration." }, "faultToleranceConfiguration": { "kind": "element", "displayName": "Fault Tolerance Configuration", "required": false, "type": "object", "javaType": "org.apache.camel.model.FaultToleranceConfigurationDefinition", "deprecated": false, "autowired": false, "secret": false, "description": "Configures the circuit breaker to use MicroProfile Fault Tolerance with the given configuration." }, - "configuration": { "kind": "attribute", "displayName": "Configuration", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a circuit breaker configuration (such as resillience4j, or microprofile-fault-tolerance) to use for configuring the circuit breaker EIP." }, + "onFallback": { "kind": "element", "displayName": "On Fallback", "required": false, "type": "object", "javaType": "org.apache.camel.model.OnFallbackDefinition", "deprecated": false, "autowired": false, "secret": false, "description": "The fallback route path to execute that does not go over the network. This should be a static or cached result that can immediately be returned upon failure. If the fallback requires network connection then use onFallbackViaNetwork() ." }, "disabled": { "kind": "attribute", "displayName": "Disabled", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether to disable this EIP from the route during build time. Once an EIP has been disabled then it cannot be enabled later at runtime." }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the id of this node" }, "description": { "kind": "element", "displayName": "Description", "required": false, "type": "object", "javaType": "org.apache.camel.model.DescriptionDefinition", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the description of this node" } diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/onFallback.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/onFallback.json index d0d40c7d8e2..b2b4daf3bd1 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/onFallback.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/onFallback.json @@ -9,7 +9,7 @@ "javaType": "org.apache.camel.model.OnFallbackDefinition", "abstract": false, "input": true, - "output": false + "output": true }, "properties": { "fallbackViaNetwork": { "kind": "attribute", "displayName": "Fallback Via Network", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the fallback goes over the network. If the fallback will go over the network it is another possible point of failure. It is important to execute the fallback command on a separate thread-pool, otherwise if t [...] diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/resilience4jConfiguration.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/resilience4jConfiguration.json index fa87423edeb..c1d9e810a35 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/resilience4jConfiguration.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/resilience4jConfiguration.json @@ -25,6 +25,13 @@ "automaticTransitionFromOpenToHalfOpenEnabled": { "kind": "attribute", "displayName": "Automatic Transition From Open To Half Open Enabled", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enables automatic transition from OPEN to HALF_OPEN state once the waitDurationInOpenState has passed." }, "slowCallRateThreshold": { "kind": "attribute", "displayName": "Slow Call Rate Threshold", "label": "advanced", "required": false, "type": "number", "javaType": "java.lang.Float", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "100", "description": "Configures a threshold in percentage. The CircuitBreaker considers a call as slow when the call duration is greater than slowCallDurationThreshold Duration. When the percentage of slow calls is equal or greater [...] "slowCallDurationThreshold": { "kind": "attribute", "displayName": "Slow Call Duration Threshold", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "60", "description": "Configures the duration threshold (seconds) above which calls are considered as slow and increase the slow calls percentage. Default value is 60 seconds." }, + "bulkheadEnabled": { "kind": "attribute", "displayName": "Bulkhead Enabled", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether bulkhead is enabled or not on the circuit breaker. Default is false." }, + "bulkheadMaxConcurrentCalls": { "kind": "attribute", "displayName": "Bulkhead Max Concurrent Calls", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "25", "description": "Configures the max amount of concurrent calls the bulkhead will support." }, + "bulkheadMaxWaitDuration": { "kind": "attribute", "displayName": "Bulkhead Max Wait Duration", "label": "advanced", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "0", "description": "Configures a maximum amount of time which the calling thread will wait to enter the bulkhead. If bulkhead has space available, entry is guaranteed and immediate. If bulkhead is full, calling threads will co [...] + "timeoutEnabled": { "kind": "attribute", "displayName": "Timeout Enabled", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether timeout is enabled or not on the circuit breaker. Default is false." }, + "timeoutExecutorService": { "kind": "attribute", "displayName": "Timeout Executor Service", "label": "advanced", "required": false, "type": "object", "javaType": "java.util.concurrent.ExecutorService", "deprecated": false, "autowired": false, "secret": false, "description": "References to a custom thread pool to use when timeout is enabled (uses ForkJoinPool#commonPool() by default)" }, + "timeoutDuration": { "kind": "attribute", "displayName": "Timeout Duration", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "1000", "description": "Configures the thread execution timeout. Default value is 1 second." }, + "timeoutCancelRunningFuture": { "kind": "attribute", "displayName": "Timeout Cancel Running Future", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Configures whether cancel is called on the running future. Defaults to true." }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index 19eccf3d812..4b859615e24 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -3352,6 +3352,8 @@ will fallback to use the fixed value if the Expression result was null or 0. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -3390,8 +3392,6 @@ will fallback to use the fixed value if the Expression result was null or 0. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -4021,6 +4021,8 @@ should be intercepted by this exception type or not. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -4059,8 +4061,6 @@ should be intercepted by this exception type or not. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -4223,6 +4223,8 @@ should be intercepted by this exception type or not. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -4261,8 +4263,6 @@ should be intercepted by this exception type or not. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -4403,6 +4403,8 @@ the branch that matched. Default value: false <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -4441,8 +4443,6 @@ the branch that matched. Default value: false <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -4541,6 +4541,8 @@ the branch that matched. Default value: false <xs:element minOccurs="0" ref="tns:faultToleranceConfiguration"/> + <xs:element minOccurs="0" ref="tns:onFallback"/> + <xs:choice maxOccurs="unbounded" minOccurs="0"> <xs:element ref="tns:aggregate"/> @@ -4557,6 +4559,8 @@ the branch that matched. Default value: false <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -4595,8 +4599,6 @@ the branch that matched. Default value: false <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -4712,23 +4714,7 @@ microprofile-fault-tolerance) to use for configuring the circuit breaker EIP. <xs:extension base="tns:identifiedType"> - <xs:sequence> - - <xs:element minOccurs="0" name="bulkheadEnabled" type="xs:string"/> - - <xs:element minOccurs="0" name="bulkheadMaxConcurrentCalls" type="xs:string"/> - - <xs:element minOccurs="0" name="bulkheadMaxWaitDuration" type="xs:string"/> - - <xs:element minOccurs="0" name="timeoutEnabled" type="xs:string"/> - - <xs:element minOccurs="0" name="timeoutExecutorService" type="xs:string"/> - - <xs:element minOccurs="0" name="timeoutDuration" type="xs:string"/> - - <xs:element minOccurs="0" name="timeoutCancelRunningFuture" type="xs:string"/> - - </xs:sequence> + <xs:sequence/> <xs:attribute name="circuitBreaker" type="xs:string"> <xs:annotation> @@ -4876,6 +4862,74 @@ Default value: 60 ]]></xs:documentation> </xs:annotation> </xs:attribute> + + <xs:attribute name="bulkheadEnabled" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Whether bulkhead is enabled or not on the circuit breaker. Default is false. +Default value: false + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + + <xs:attribute name="bulkheadMaxConcurrentCalls" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Configures the max amount of concurrent calls the bulkhead will support. Default +value: 25 + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + + <xs:attribute name="bulkheadMaxWaitDuration" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Configures a maximum amount of time which the calling thread will wait to enter +the bulkhead. If bulkhead has space available, entry is guaranteed and +immediate. If bulkhead is full, calling threads will contest for space, if it +becomes available. maxWaitDuration can be set to 0. Note: for threads running on +an event-loop or equivalent (rx computation pool, etc), setting maxWaitDuration +to 0 is highly recommended. Blocking an event-loop thread will most likely have +a negative effect on application throughput. Default value: 0 + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + + <xs:attribute name="timeoutEnabled" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Whether timeout is enabled or not on the circuit breaker. Default is false. +Default value: false + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + + <xs:attribute name="timeoutExecutorService" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +References to a custom thread pool to use when timeout is enabled (uses +ForkJoinPool#commonPool() by default). + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + + <xs:attribute name="timeoutDuration" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Configures the thread execution timeout. Default value is 1 second. Default +value: 1000 + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + + <xs:attribute name="timeoutCancelRunningFuture" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Configures whether cancel is called on the running future. Defaults to true. +Default value: true + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> </xs:extension> @@ -5030,6 +5084,168 @@ References to a custom thread pool to use when bulkhead is enabled. </xs:complexType> + <xs:complexType name="onFallbackDefinition"> + + <xs:complexContent> + + <xs:extension base="tns:processorDefinition"> + + <xs:sequence> + + <xs:choice maxOccurs="unbounded" minOccurs="0"> + + <xs:element ref="tns:aggregate"/> + + <xs:element ref="tns:bean"/> + + <xs:element ref="tns:doCatch"/> + + <xs:element ref="tns:when"/> + + <xs:element ref="tns:choice"/> + + <xs:element ref="tns:otherwise"/> + + <xs:element ref="tns:circuitBreaker"/> + + <xs:element ref="tns:onFallback"/> + + <xs:element ref="tns:claimCheck"/> + + <xs:element ref="tns:convertBodyTo"/> + + <xs:element ref="tns:delay"/> + + <xs:element ref="tns:dynamicRouter"/> + + <xs:element ref="tns:enrich"/> + + <xs:element ref="tns:filter"/> + + <xs:element ref="tns:doFinally"/> + + <xs:element ref="tns:idempotentConsumer"/> + + <xs:element ref="tns:intercept"/> + + <xs:element ref="tns:interceptFrom"/> + + <xs:element ref="tns:interceptSendToEndpoint"/> + + <xs:element ref="tns:kamelet"/> + + <xs:element ref="tns:loadBalance"/> + + <xs:element ref="tns:log"/> + + <xs:element ref="tns:loop"/> + + <xs:element ref="tns:marshal"/> + + <xs:element ref="tns:multicast"/> + + <xs:element ref="tns:onCompletion"/> + + <xs:element ref="tns:onException"/> + + <xs:element ref="tns:pausable"/> + + <xs:element ref="tns:pipeline"/> + + <xs:element ref="tns:policy"/> + + <xs:element ref="tns:pollEnrich"/> + + <xs:element ref="tns:process"/> + + <xs:element ref="tns:recipientList"/> + + <xs:element ref="tns:removeHeader"/> + + <xs:element ref="tns:removeHeaders"/> + + <xs:element ref="tns:removeProperties"/> + + <xs:element ref="tns:removeProperty"/> + + <xs:element ref="tns:resequence"/> + + <xs:element ref="tns:resumable"/> + + <xs:element ref="tns:rollback"/> + + <xs:element ref="tns:route"/> + + <xs:element ref="tns:routingSlip"/> + + <xs:element ref="tns:saga"/> + + <xs:element ref="tns:sample"/> + + <xs:element ref="tns:script"/> + + <xs:element ref="tns:setBody"/> + + <xs:element ref="tns:setExchangePattern"/> + + <xs:element ref="tns:setHeader"/> + + <xs:element ref="tns:setProperty"/> + + <xs:element ref="tns:sort"/> + + <xs:element ref="tns:split"/> + + <xs:element ref="tns:step"/> + + <xs:element ref="tns:stop"/> + + <xs:element ref="tns:threads"/> + + <xs:element ref="tns:throttle"/> + + <xs:element ref="tns:throwException"/> + + <xs:element ref="tns:to"/> + + <xs:element ref="tns:toD"/> + + <xs:element ref="tns:transacted"/> + + <xs:element ref="tns:transform"/> + + <xs:element ref="tns:doTry"/> + + <xs:element ref="tns:unmarshal"/> + + <xs:element ref="tns:validate"/> + + <xs:element ref="tns:wireTap"/> + + <xs:element ref="tns:serviceCall"/> + + </xs:choice> + + </xs:sequence> + + <xs:attribute name="fallbackViaNetwork" type="xs:string"> + <xs:annotation> + <xs:documentation xml:lang="en"><![CDATA[ +Whether the fallback goes over the network. If the fallback will go over the +network it is another possible point of failure. It is important to execute the +fallback command on a separate thread-pool, otherwise if the main command were +to become latent and fill the thread-pool this would prevent the fallback from +running if the two commands share the same pool. Default value: false + ]]></xs:documentation> + </xs:annotation> + </xs:attribute> + + </xs:extension> + + </xs:complexContent> + + </xs:complexType> + <xs:complexType name="claimCheckDefinition"> <xs:complexContent> @@ -6185,6 +6401,8 @@ default WARN. Default value: WARN <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -6223,8 +6441,6 @@ default WARN. Default value: WARN <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -6344,6 +6560,8 @@ Setting this allows to know if the filter predicate evaluated as true or false. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -6382,8 +6600,6 @@ Setting this allows to know if the filter predicate evaluated as true or false. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -6600,6 +6816,8 @@ Global option value. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -6638,8 +6856,6 @@ Global option value. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -6834,6 +7050,8 @@ Whether if validation is required for this input type. Default value: false <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -6872,8 +7090,6 @@ Whether if validation is required for this input type. Default value: false <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -7007,6 +7223,8 @@ configured, then all incoming messages is intercepted. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -7045,8 +7263,6 @@ configured, then all incoming messages is intercepted. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -7183,6 +7399,8 @@ process its result. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -7221,8 +7439,6 @@ process its result. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -7360,6 +7576,8 @@ specified using uri syntax, eg mynamecount=4&type=gold. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -7398,8 +7616,6 @@ specified using uri syntax, eg mynamecount=4&type=gold. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -7826,6 +8042,8 @@ To refer to a custom logger instance to lookup from the registry. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -7864,8 +8082,6 @@ To refer to a custom logger instance to lookup from the registry. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -11404,6 +11620,8 @@ decompressed size. Default value: 1073741824 <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -11442,8 +11660,6 @@ decompressed size. Default value: 1073741824 <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -11690,6 +11906,8 @@ should be invoked or not. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -11728,8 +11946,6 @@ should be invoked or not. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -11943,6 +12159,8 @@ failure. If this option is enabled then its considered handled as well. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -11981,8 +12199,6 @@ failure. If this option is enabled then its considered handled as well. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -12177,168 +12393,6 @@ message. By default this feature is off. Default value: false </xs:complexType> - <xs:complexType name="onFallbackDefinition"> - - <xs:complexContent> - - <xs:extension base="tns:output"> - - <xs:sequence> - - <xs:choice maxOccurs="unbounded" minOccurs="0"> - - <xs:element ref="tns:aggregate"/> - - <xs:element ref="tns:bean"/> - - <xs:element ref="tns:doCatch"/> - - <xs:element ref="tns:when"/> - - <xs:element ref="tns:choice"/> - - <xs:element ref="tns:otherwise"/> - - <xs:element ref="tns:circuitBreaker"/> - - <xs:element ref="tns:claimCheck"/> - - <xs:element ref="tns:convertBodyTo"/> - - <xs:element ref="tns:delay"/> - - <xs:element ref="tns:dynamicRouter"/> - - <xs:element ref="tns:enrich"/> - - <xs:element ref="tns:filter"/> - - <xs:element ref="tns:doFinally"/> - - <xs:element ref="tns:idempotentConsumer"/> - - <xs:element ref="tns:intercept"/> - - <xs:element ref="tns:interceptFrom"/> - - <xs:element ref="tns:interceptSendToEndpoint"/> - - <xs:element ref="tns:kamelet"/> - - <xs:element ref="tns:loadBalance"/> - - <xs:element ref="tns:log"/> - - <xs:element ref="tns:loop"/> - - <xs:element ref="tns:marshal"/> - - <xs:element ref="tns:multicast"/> - - <xs:element ref="tns:onCompletion"/> - - <xs:element ref="tns:onException"/> - - <xs:element ref="tns:onFallback"/> - - <xs:element ref="tns:pausable"/> - - <xs:element ref="tns:pipeline"/> - - <xs:element ref="tns:policy"/> - - <xs:element ref="tns:pollEnrich"/> - - <xs:element ref="tns:process"/> - - <xs:element ref="tns:recipientList"/> - - <xs:element ref="tns:removeHeader"/> - - <xs:element ref="tns:removeHeaders"/> - - <xs:element ref="tns:removeProperties"/> - - <xs:element ref="tns:removeProperty"/> - - <xs:element ref="tns:resequence"/> - - <xs:element ref="tns:resumable"/> - - <xs:element ref="tns:rollback"/> - - <xs:element ref="tns:route"/> - - <xs:element ref="tns:routingSlip"/> - - <xs:element ref="tns:saga"/> - - <xs:element ref="tns:sample"/> - - <xs:element ref="tns:script"/> - - <xs:element ref="tns:setBody"/> - - <xs:element ref="tns:setExchangePattern"/> - - <xs:element ref="tns:setHeader"/> - - <xs:element ref="tns:setProperty"/> - - <xs:element ref="tns:sort"/> - - <xs:element ref="tns:split"/> - - <xs:element ref="tns:step"/> - - <xs:element ref="tns:stop"/> - - <xs:element ref="tns:threads"/> - - <xs:element ref="tns:throttle"/> - - <xs:element ref="tns:throwException"/> - - <xs:element ref="tns:to"/> - - <xs:element ref="tns:toD"/> - - <xs:element ref="tns:transacted"/> - - <xs:element ref="tns:transform"/> - - <xs:element ref="tns:doTry"/> - - <xs:element ref="tns:unmarshal"/> - - <xs:element ref="tns:validate"/> - - <xs:element ref="tns:wireTap"/> - - <xs:element ref="tns:serviceCall"/> - - </xs:choice> - - </xs:sequence> - - <xs:attribute name="fallbackViaNetwork" type="xs:string"> - <xs:annotation> - <xs:documentation xml:lang="en"><![CDATA[ -Whether the fallback goes over the network. If the fallback will go over the -network it is another possible point of failure. It is important to execute the -fallback command on a separate thread-pool, otherwise if the main command were -to become latent and fill the thread-pool this would prevent the fallback from -running if the two commands share the same pool. Default value: false - ]]></xs:documentation> - </xs:annotation> - </xs:attribute> - - </xs:extension> - - </xs:complexContent> - - </xs:complexType> - <xs:complexType name="outputTypeDefinition"> <xs:complexContent> @@ -12461,6 +12515,8 @@ point. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -12499,8 +12555,6 @@ point. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -12611,6 +12665,8 @@ point. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -12649,8 +12705,6 @@ point. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -13423,6 +13477,8 @@ Name of property to remove. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -13461,8 +13517,6 @@ Name of property to remove. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -13895,6 +13949,8 @@ Reference to the routes in the xml dsl. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -13933,8 +13989,6 @@ Reference to the routes in the xml dsl. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -14472,6 +14526,8 @@ compensation/completion exchange. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -14510,8 +14566,6 @@ compensation/completion exchange. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -15117,6 +15171,8 @@ Sets the comparator to use for sorting. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -15155,8 +15211,6 @@ Sets the comparator to use for sorting. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -15411,6 +15465,8 @@ individual unit of work. Default value: false <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -15449,8 +15505,6 @@ individual unit of work. Default value: false <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -16116,6 +16170,8 @@ Whether to auto startup components when toD is starting up. Default value: true <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -16154,8 +16210,6 @@ Whether to auto startup components when toD is starting up. Default value: true <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/> @@ -16338,6 +16392,8 @@ Sets a reference to use for lookup the policy in the registry. <xs:element ref="tns:circuitBreaker"/> + <xs:element ref="tns:onFallback"/> + <xs:element ref="tns:claimCheck"/> <xs:element ref="tns:convertBodyTo"/> @@ -16376,8 +16432,6 @@ Sets a reference to use for lookup the policy in the registry. <xs:element ref="tns:onException"/> - <xs:element ref="tns:onFallback"/> - <xs:element ref="tns:pausable"/> <xs:element ref="tns:pipeline"/>