You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2020/05/26 10:12:00 UTC

[jira] [Created] (CXF-8289) CircuitBreakerFailoverFeature does not work together with RetryStrategy (only one single endpoint available)

Konrad Windszus created CXF-8289:
------------------------------------

             Summary: CircuitBreakerFailoverFeature does not work together with RetryStrategy (only one single endpoint available)
                 Key: CXF-8289
                 URL: https://issues.apache.org/jira/browse/CXF-8289
             Project: CXF
          Issue Type: Improvement
          Components: Clustering
    Affects Versions: 3.3.6
            Reporter: Konrad Windszus


The retry strategy allows to retry from the same endpoint. I would like to combine this with the CircuitBreakerFailoverFeature. Unfortunately this does not work as expected because in case an error happens with one endpoints it will retry the same endpoint {{threshold}} times without any waiting in between and afterwards will mark the endpoint as not available and give up.

In the case that only one endpoint is available it should instead retry {{threshold}} times without waiting and afterwards try again the same endpoint after waiting {{timeout}}. That should be repeated as often as {{maxNumberOfRetries}} given in the underlying {{RetryStrategy}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)