Can anyone tell me how to build camel route dynamically in dsl.

I am aware of recepientlist, dynamic router.

Suppose I have a list of endpoint url's, how can i build route by iterating
the list ?? 

List<ObjectWithTypeAndURl> listOfEndpoints=............

In Route builder configure method can i define a single route in multiple
steps???

for eg..

from(listOfEndpoints.get(0));
iterating
  to(listOfEndpoints.get(..));


something like  this??





-----
Regards

kiran Reddy
--
View this message in context: 
http://camel.465427.n5.nabble.com/building-route-in-java-dsl-tp5727483.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to