Here is more details of what I am trying to do. In an osgi framework, I resolve everything that implements IMyService. Which have the method putDocuments(String path)
I want to call this method for those X services and then transfer the files from hard drive. context.addRoutes(new RouteBuilder() { @Override public void configure() throws Exception { from(quartzUri).process(new Processor() { @Override public void process(Exchange exchange) throws Exception { for(IMyService service : services) { service.putDocuments(path); } } }); from("file:" + path).to(sftpUri); } }); So it would be done in 2 roads without parallel processing and from there I will do some errorhandling. I still had like to trigger the file transfert with quartz, but I don't think I can do it without dynamically adding and removing routes. Am I right ? -- View this message in context: http://camel.465427.n5.nabble.com/Multithreading-dynamic-process-list-with-direct-and-wildcard-tp5730501p5730660.html Sent from the Camel - Users mailing list archive at Nabble.com.