Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-8289

CircuitBreakerFailoverFeature does not work together with RetryStrategy (only one single endpoint available)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.6
    • None
    • Clustering
    • None
    • Unknown

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: