Hi.
I can easily create a route using Java DSL of the form
from("foo").loadBalance().to("bar").("bla"),
which is perfect for static routes.
How can I do the same but without DSL. Something like 
CamelContext context = new DefaultCamelContext();.
LoadBalancer balancer = new RoundRobinLoadBalancer();
balancer.addEndpoint("bar");
balancer.addEndpoint("bla");
....

balancer.removeEndpoint("bar")

I need to be able to add/remove endpoints to/from load balancers at runtime.
Is it possible with Camel?

Sergey.


-- 
View this message in context: 
http://camel.465427.n5.nabble.com/LoadBalansing-configuration-tp3315711p3315711.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to