[jira] [Created] (CXF-8288) RetryStrategy: Evaluate Retry-After response header included in a 429 response

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CXF-8288) RetryStrategy: Evaluate Retry-After response header included in a 429 response

Omar Atia (Jira)
Konrad Windszus created CXF-8288:
------------------------------------

             Summary: RetryStrategy: Evaluate Retry-After response header included in a 429 response
                 Key: CXF-8288
                 URL: https://issues.apache.org/jira/browse/CXF-8288
             Project: CXF
          Issue Type: Improvement
            Reporter: Konrad Windszus


Sometimes servers indicate how long to wait until a retry should be scheduled (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429). The {{retry-after}} response header should be evaluated in case of a 429 response in https://github.com/apache/cxf/blob/540bb76f6f3d3d23944c566905f9f395c6f86b79/rt/features/clustering/src/main/java/org/apache/cxf/clustering/RetryStrategy.java#L30 to influence the delay (https://github.com/apache/cxf/blob/f1f312b6dcd3770a52d1dd42e260a4ac26c779b7/rt/features/clustering/src/main/java/org/apache/cxf/clustering/AbstractStaticFailoverStrategy.java#L47).



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