Hi,
I just jump into writing some demos which could show how to use camel
as a load balancer.
I can find there are lots of balancer processor in the camel-core module.
But when I went through the code , I just found there is no DSL
balancer type class to handle the load balancer setting up stuff and
no test code to show how to use them in a program way.
Here is my proposal for the LoaderBalancer DSL support.
The DSL could be
form(EndpointA).loaderBalancer("RoundRobin").to("EndpointB").to("EndpointC").to("EndponitD");
or
form(EndpointA).loaderBalancer("Random").addEndpoint("EndpointB").addEndpoint("EndpointC").addEndpoint("EndponitD");
Any thought?
Willem.