103104105106107108109
public synchronized void consumerStopped(EventConsumer consumer) { getLoadBalancer().removeProcessor(consumer.getProcessor()); } protected LoadBalancer createLoadBalancer() { return new TopicLoadBalancer(); }
129130131132133134135136
loadBalancerType = new LoadBalancerType(new StickyLoadBalancer(correlationExpression)); return this; } public LoadBalanceType topic() { loadBalancerType = new LoadBalancerType(new TopicLoadBalancer()); return this; }
308309310311312313314315
* Uses topic load balancer * * @return the builder */ public LoadBalanceDefinition topic() { setLoadBalancerType(new LoadBalancerDefinition(new TopicLoadBalancer())); return this; }
239240241242243244245246
* Uses topic load balancer * * @return the builder */ public LoadBalanceDefinition topic() { loadBalancerType = new LoadBalancerDefinition(new TopicLoadBalancer()); return this; }