org.apache.camel.model.loadbalancer
Class FailOverLoadBalanceStrategy

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

public class FailOverLoadBalanceStrategy
extends LoadBalancerDefinition


Constructor Summary
FailOverLoadBalanceStrategy()
           
 
Method Summary
protected  LoadBalancer createLoadBalancer(RouteContext routeContext)
          Factory method to create the load balancer instance
 String getFailedException()
           
 void setFailedException(String exceptionName)
           
 
Methods inherited from class org.apache.camel.model.loadbalancer.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, toString, wait, wait, wait
 

Constructor Detail

FailOverLoadBalanceStrategy

public FailOverLoadBalanceStrategy()
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

setFailedException

public void setFailedException(String exceptionName)

getFailedException

public String getFailedException()


Copyright © 2009 Apache Software Foundation. All Rights Reserved.