org.apache.camel.model.loadbalancer
Class RandomLoadBalancerDefinition

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

public class RandomLoadBalancerDefinition
extends LoadBalancerDefinition

Represents an XML <random/> element


Constructor Summary
RandomLoadBalancerDefinition()
           
 
Method Summary
protected  LoadBalancer createLoadBalancer(RouteContext routeContext)
          Factory method to create the load balancer instance
 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

RandomLoadBalancerDefinition

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

toString

public String toString()
Overrides:
toString in class Object


Apache CAMEL