Ad 2) spring dsl is just a xml file so you can write that to disk. And then on restart you can load the routes from the xml file(s).
See also http://camel.apache.org/loading-routes-from-xml-files.html On Thu, Sep 5, 2013 at 7:16 PM, Gnanaguru S <gnanaguru.sattanat...@wipro.com> wrote: > > Hello, > > I have two file endpoints, I need to route the files using camel routes. > > I have a web UI where I will provide the two file endpoints detail, One I > submit the details It has to create a camel context file. > > 1. I am able to achieve this using route builder, but this is in-memory. > When the JVM crashes, I have to re-run the program. Is there any solution > which keep the camel context even when the JVM gets restarted ? > > 2. It would be helpful, if I can create routes dynamically in spring dsl. > > Any thoughts ? > > Thanks > Guru > gnanaguru.com > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Web-based-camel-route-automation-tp5738797.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen