camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Keep the routes created dynamically after restarting
Date Thu, 19 Jan 2012 14:00:52 GMT
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
<nicolas.gapaillard@gmail.com> 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
> nicolas.gapaillard@gmail.com



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Mime
View raw message