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