This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 0ccb492a187 CAMEL-21630: camel-core - InheritErrorHandler should only
be for failover LB and CircuitBreaker and internally only for camel-jta
0ccb492a187 is described below
commit 0ccb492a1870af5059fb81567495f6a25daad006
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Jan 21 07:19:10 2025 +0100
CAMEL-21630: camel-core - InheritErrorHandler should only be for failover
LB and CircuitBreaker and internally only for camel-jta
---
.../camel/component/jetty/JettySpringFailoverRoundRobinTest.xml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git
a/components/camel-jetty/src/test/resources/org/apache/camel/component/jetty/JettySpringFailoverRoundRobinTest.xml
b/components/camel-jetty/src/test/resources/org/apache/camel/component/jetty/JettySpringFailoverRoundRobinTest.xml
index ff6ff7cc1f5..689db22ef8d 100644
---
a/components/camel-jetty/src/test/resources/org/apache/camel/component/jetty/JettySpringFailoverRoundRobinTest.xml
+++
b/components/camel-jetty/src/test/resources/org/apache/camel/component/jetty/JettySpringFailoverRoundRobinTest.xml
@@ -39,10 +39,8 @@
<!-- START SNIPPET: e1 -->
<route>
<from uri="direct:JettySpringFailoverRoundRobinTestStart"/>
- <!-- load balance using failover in round robin mode.
- Also do not inherit error handler which means the failover LB
will not fallback
- and use error handler but trigger failover to next endpoint
immediately -->
- <loadBalance inheritErrorHandler="false">
+ <!-- load balance using failover in round robin mode. -->
+ <loadBalance>
<failoverLoadBalancer roundRobin="true"/>
<!-- and this is the four endpoints we will load balance with
failover -->
<to uri="ref:hbad"/>