I haven't checked gudiseashok's solution but I ended up with the solution of
multiple threads created after a from("sql:...").to("bean:...) where inside
the bean's calling function is a for loop to create threads where the run()
method of the Runnable is something like:
run() {
camelContext.addRoutes(new RouteBuilder() {
public void configure() {
from("smpp://....")
to(....)
}
});
}
thus creating my smpp receivers dynamically.
Now I only have to figure out a way to stop those routes and threads..
--
View this message in context:
http://camel.465427.n5.nabble.com/Creating-routes-dynamically-like-a-for-tp5740703p5741217.html
Sent from the Camel - Users mailing list archive at Nabble.com.