camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jack patwork (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-8584) Circuit breaker does not honour halfOpenAfter period
Date Wed, 01 Apr 2015 11:15:53 GMT
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)

Mime
View raw message