124125126127128129130
getComponent().consumerStopped(this); getLoadBalancer().removeProcessor(consumer.getProcessor()); } protected LoadBalancer createLoadBalancer() { return new TopicLoadBalancer(); }
104105106107108109110
public synchronized void consumerStopped(EventConsumer consumer) { getLoadBalancer().removeProcessor(consumer.getProcessor()); } protected LoadBalancer createLoadBalancer() { return new TopicLoadBalancer(); }
288289290291292293294295
* Uses topic load balancer * * @return the builder */ public LoadBalanceDefinition topic() { setLoadBalancerType(new LoadBalancerDefinition(new TopicLoadBalancer())); return this; }
155156157158159160161162
loadBalancerType = new LoadBalancerType(new StickyLoadBalancer(correlationExpression)); return this; } public LoadBalanceType topic() { loadBalancerType = new LoadBalancerType(new TopicLoadBalancer()); return this; }
108109110111112113114
158159160161162163164165
/** * @deprecated will be removed in Camel 2.0, use multicast instead */ public LoadBalanceType topic() { loadBalancerType = new LoadBalancerType(new TopicLoadBalancer()); return this; }
286287288289290291292293
215216217218219220221222
* Uses topic load balancer * * @return the builder */ public LoadBalanceDefinition topic() { loadBalancerType = new LoadBalancerDefinition(new TopicLoadBalancer()); return this; }
267268269270271272273274
100101102103104105106