I have two endpoints: main and failover. When apim sends request to main endpoint, it returns http/500 with SoapFault next apim processes the error and starts prepare request to second(faiover) endpoint and hangs on class XFormURLEncodedBuilder (code line: String line = bufferedReader.readLine).
Is there a possibility to configure apim to retry (de facto failover) when it receives http/500 with SoapFault from the first endpoint.