You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/04/02 09:47:53 UTC

[jira] [Updated] (CAMEL-8584) Circuit breaker does not honour halfOpenAfter period

     [ https://issues.apache.org/jira/browse/CAMEL-8584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-8584:
-------------------------------
    Fix Version/s: 2.16.0
                   2.15.2

> 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.0, 2.15.1
>            Reporter: jack patwork
>             Fix For: 2.15.2, 2.16.0
>
>
> 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)