jack patwork created CAMEL-8584:
-----------------------------------
Summary: Circuit breaker does not honour halfOpenAfter period
Key: CAMEL-8584
URL: https://issues.apache.org/jira/browse/CAMEL-8584
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 2.15.1, 2.15.0
Reporter: jack patwork
The CircuitBreakerLoadBalancer will always switch to a half-open state
immediately after the first rejected message instead of honouring the
halfOpenAfter period.
It's due to the failed message count getting reset in the rejectExchange method:
https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/processor/loadbalancer/CircuitBreakerLoadBalancer.java#L207
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)