Hi, how about turning the solution around and starting individual routes using quartz? If you want to stay on your path: let cron write individual files and use "from uri=file:" in the routes to trigger your routes. Not extremely elegant though...
Cheers, Thomas. Am 28.11.2013 um 11:52 schrieb richie.rivi...@gmail.com: > Hi All, > > I have written a camel application that I would like to execute from the > crontab. My application has a main class which looks like ... > > public class Main extends org.apache.camel.spring.Main { > > public static void main(String... args) throws Exception { > new Main().run(args); > } > } > > And it has several routes. So it's easy enough to execute camel and tell it > to run all the routes but how would I tell it to only run a specific route > from the unix cron or just any other unix command line for that matter? > > thanks > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Execute-a-spedific-route-from-unix-cron-tp5744010.html > Sent from the Camel - Users mailing list archive at Nabble.com.