Hi Yeah can export the routes as XML, and then load them upon restart.
A little example to load the routes http://camel.apache.org/loading-routes-from-xml-files.html Then to save them is also fairly easy. On Thu, Jan 19, 2012 at 1:55 PM, Nicolas Gapaillard <[email protected]> wrote: > Hi all, > > Is is something in camel that permits to persist the routes created > dynamically in bdd or an xml file ? > > Because for now, I have an application that permits to instanciate new > routes inside camel via the RoutesBuilder. It works very well. But if camel > is restarted, I lose all my already defined routes. > > I searched inside the documentation and I didn't see anything about that. > > For info, I use the 2.9.0 version of apache camel. > > If someone has an idea. > > Thank you. > > > > -- > Nicolas Gapaillard > [email protected] -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
