org.apache.camel.model.loadbalancer
Class CustomLoadBalancerDefinition

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

public class CustomLoadBalancerDefinition
extends LoadBalancerDefinition

Represents an XML <customLoadBalancer/> element


Constructor Summary
CustomLoadBalancerDefinition()
           
 
Method Summary
protected  LoadBalancer createLoadBalancer(RouteContext routeContext)
          Factory method to create the load balancer instance
 String getRef()
           
 void setRef(String ref)
           
 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

CustomLoadBalancerDefinition

public CustomLoadBalancerDefinition()
Method Detail

getRef

public String getRef()

setRef

public void setRef(String ref)

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 LoadBalancerDefinition


Apache CAMEL