[jira] [Created] (CXF-8287) HttpConduit: Also set org.apache.cxf.transport.service_not_available for status code 429

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

[jira] [Created] (CXF-8287) HttpConduit: Also set org.apache.cxf.transport.service_not_available for status code 429

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

             Summary: HttpConduit: Also set org.apache.cxf.transport.service_not_available for status code 429
                 Key: CXF-8287
                 URL: https://issues.apache.org/jira/browse/CXF-8287
             Project: CXF
          Issue Type: Improvement
    Affects Versions: 3.3.6
            Reporter: Konrad Windszus


Status code 429 may be used to indicate a temporary overload (https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429). This should trigger the FailoverFeature as well. For that property {{org.apache.cxf.transport.service_not_available}} should be set in case of that status code in https://github.com/apache/cxf/blob/f1f312b6dcd3770a52d1dd42e260a4ac26c779b7/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HTTPConduit.java#L1603 as well.



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