org.apache.cxf.clustering
Class RetryStrategy
java.lang.Object
org.apache.cxf.clustering.AbstractStaticFailoverStrategy
org.apache.cxf.clustering.SequentialStrategy
org.apache.cxf.clustering.RetryStrategy
- All Implemented Interfaces:
- FailoverStrategy
public class RetryStrategy
- extends SequentialStrategy
This strategy simply retries the invocation using the same Endpoint (CXF-2036).
- Author:
- Dennis Kieselhorst
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetryStrategy
public RetryStrategy()
getAlternateEndpoints
public List<Endpoint> getAlternateEndpoints(Exchange exchange)
- Description copied from class:
AbstractStaticFailoverStrategy
- Get the alternate endpoints for this invocation.
- Specified by:
getAlternateEndpoints
in interface FailoverStrategy
- Overrides:
getAlternateEndpoints
in class AbstractStaticFailoverStrategy
- Parameters:
exchange
- the current Exchange
- Returns:
- a List of alternate endpoints if available
Apache CXF