public interface FailoverStrategy
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAlternateAddresses(org.apache.cxf.message.Exchange exchange)
Get the alternate addresses for this invocation.
|
List<org.apache.cxf.endpoint.Endpoint> |
getAlternateEndpoints(org.apache.cxf.message.Exchange exchange)
Get the alternate endpoints for this invocation.
|
String |
selectAlternateAddress(List<String> addresses)
Select one of the alternate addresses for a retried invocation.
|
org.apache.cxf.endpoint.Endpoint |
selectAlternateEndpoint(List<org.apache.cxf.endpoint.Endpoint> alternates)
Select one of the alternate endpoints for a retried invocation.
|
List<org.apache.cxf.endpoint.Endpoint> getAlternateEndpoints(org.apache.cxf.message.Exchange exchange)
exchange - the current Exchangeorg.apache.cxf.endpoint.Endpoint selectAlternateEndpoint(List<org.apache.cxf.endpoint.Endpoint> alternates)
alternates - List of alternate endpoints if availableList<String> getAlternateAddresses(org.apache.cxf.message.Exchange exchange)
exchange - the current ExchangeApache CXF