org.apache.camel.model.loadbalancer
Class FailoverLoadBalancerDefinition

java.lang.Object
  extended by org.apache.camel.model.IdentifiedType
      extended by org.apache.camel.model.LoadBalancerDefinition
          extended by org.apache.camel.model.loadbalancer.FailoverLoadBalancerDefinition
All Implemented Interfaces:
AsyncProcessor, Processor, LoadBalancer

public class FailoverLoadBalancerDefinition
extends LoadBalancerDefinition

Represents an XML <failover/> element


Constructor Summary
FailoverLoadBalancerDefinition()
           
 
Method Summary
protected  LoadBalancer createLoadBalancer(RouteContext routeContext)
          Factory method to create the load balancer instance
 List<String> getExceptions()
           
 Integer getMaximumFailoverAttempts()
           
 Boolean isRoundRobin()
           
 void setExceptions(List<String> exceptions)
           
 void setMaximumFailoverAttempts(Integer maximumFailoverAttempts)
           
 void setRoundRobin(Boolean roundRobin)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.model.LoadBalancerDefinition
addProcessor, configureLoadBalancer, getLoadBalancer, getLoadBalancer, getProcessors, process, process, removeProcessor, setProperty
 
Methods inherited from class org.apache.camel.model.IdentifiedType
getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FailoverLoadBalancerDefinition

public FailoverLoadBalancerDefinition()
Method Detail

createLoadBalancer

protected LoadBalancer createLoadBalancer(RouteContext routeContext)
Description copied from class: LoadBalancerDefinition
Factory method to create the load balancer instance

Overrides:
createLoadBalancer in class LoadBalancerDefinition

getExceptions

public List<String> getExceptions()

setExceptions

public void setExceptions(List<String> exceptions)

isRoundRobin

public Boolean isRoundRobin()

setRoundRobin

public void setRoundRobin(Boolean roundRobin)

getMaximumFailoverAttempts

public Integer getMaximumFailoverAttempts()

setMaximumFailoverAttempts

public void setMaximumFailoverAttempts(Integer maximumFailoverAttempts)

toString

public String toString()
Overrides:
toString in class Object


Apache CAMEL