@EvaluateAllEndpoints public class FailoverFeature extends AbstractFeature
enabled
Constructor and Description |
---|
FailoverFeature() |
FailoverFeature(String clientBootstrapAddress) |
Modifier and Type | Method and Description |
---|---|
String |
getClientBootstrapAddress() |
FailoverStrategy |
getStrategy() |
FailoverTargetSelector |
getTargetSelector() |
void |
initialize(Client client,
Bus bus) |
protected void |
initializeProvider(InterceptorProvider provider,
Bus bus) |
protected ConduitSelector |
initTargetSelector(Endpoint endpoint) |
void |
setClientBootstrapAddress(String clientBootstrapAddress) |
void |
setStrategy(FailoverStrategy strategy) |
void |
setTargetSelector(FailoverTargetSelector selector) |
getActive, getID, initialize, initialize, initialize
isEnabled
public FailoverFeature()
public FailoverFeature(String clientBootstrapAddress)
protected void initializeProvider(InterceptorProvider provider, Bus bus)
initializeProvider
in class AbstractFeature
public void initialize(Client client, Bus bus)
initialize
in interface Feature
initialize
in class AbstractFeature
protected ConduitSelector initTargetSelector(Endpoint endpoint)
public FailoverTargetSelector getTargetSelector()
public void setTargetSelector(FailoverTargetSelector selector)
public void setStrategy(FailoverStrategy strategy)
public FailoverStrategy getStrategy()
public String getClientBootstrapAddress()
public void setClientBootstrapAddress(String clientBootstrapAddress)
Apache CXF