org.apache.camel.processor.loadbalancer
Class RandomLoadBalancer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.processor.loadbalancer.LoadBalancerSupport
org.apache.camel.processor.loadbalancer.QueueLoadBalancer
org.apache.camel.processor.loadbalancer.RandomLoadBalancer
- All Implemented Interfaces:
- AsyncProcessor, Processor, LoadBalancer, Service
public class RandomLoadBalancer
- extends QueueLoadBalancer
Implements the random load balancing policy
- Version:
- $Revision: 35332 $
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomLoadBalancer
public RandomLoadBalancer()
chooseProcessor
protected Processor chooseProcessor(List<Processor> processors,
Exchange exchange)
- Specified by:
chooseProcessor
in class QueueLoadBalancer
Copyright © 2008 IONA Open Source Community. All Rights Reserved.