camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8584) Circuit breaker does not honour halfOpenAfter period
Date Thu, 02 Apr 2015 13:30:38 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14392664#comment-14392664
] 

ASF GitHub Bot commented on CAMEL-8584:
---------------------------------------

Github user kapowie closed the pull request at:

    https://github.com/apache/camel/pull/458


> 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
>            Assignee: Claus Ibsen
>             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)

Mime
View raw message