Class FailoverFeature

java.lang.Object
jakarta.xml.ws.WebServiceFeature
org.apache.cxf.feature.AbstractFeature
org.apache.cxf.feature.DelegatingFeature<FailoverFeature.Portable>
org.apache.cxf.clustering.FailoverFeature
All Implemented Interfaces:
org.apache.cxf.feature.AbstractPortableFeature, org.apache.cxf.feature.Feature
Direct Known Subclasses:
CircuitBreakerFailoverFeature, LoadDistributorFeature

@EvaluateAllEndpoints public class FailoverFeature extends org.apache.cxf.feature.DelegatingFeature<FailoverFeature.Portable>
This feature may be applied to a Client so as to enable failover from the initial target endpoint to any other compatible endpoint for the target service.
  • Constructor Details

    • FailoverFeature

      protected FailoverFeature(FailoverFeature.Portable portable)
    • FailoverFeature

      public FailoverFeature()
    • FailoverFeature

      public FailoverFeature(String clientBootstrapAddress)
  • Method Details

    • initTargetSelector

      public org.apache.cxf.endpoint.ConduitSelector initTargetSelector(org.apache.cxf.endpoint.Endpoint endpoint)
    • getTargetSelector

      public FailoverTargetSelector getTargetSelector()
    • setTargetSelector

      public void setTargetSelector(FailoverTargetSelector selector)
    • setStrategy

      public void setStrategy(FailoverStrategy strategy)
    • getStrategy

      public FailoverStrategy getStrategy()
    • getClientBootstrapAddress

      public String getClientBootstrapAddress()
    • setClientBootstrapAddress

      public void setClientBootstrapAddress(String clientBootstrapAddress)