108109110111112113114
public synchronized void consumerStopped(EventConsumer consumer) { getLoadBalancer().removeProcessor(consumer.getProcessor()); } protected LoadBalancer createLoadBalancer() { return new TopicLoadBalancer(); }
123124125126127128129
getComponent().consumerStopped(this); getLoadBalancer().removeProcessor(consumer.getProcessor()); } protected LoadBalancer createLoadBalancer() { return new TopicLoadBalancer(); }
265266267268269270271272
* Uses topic load balancer * * @return the builder */ public LoadBalanceDefinition topic() { setLoadBalancerType(new LoadBalancerDefinition(new TopicLoadBalancer())); return this; }
286287288289290291292293
109110111112113114115
196197198199200201202203
* Uses topic load balancer * * @return the builder */ public LoadBalanceDefinition topic() { loadBalancerType = new LoadBalancerDefinition(new TopicLoadBalancer()); return this; }
116117118119120121122
204205206207208209210211
100101102103104105106