There is no such functionality out of the box. You can write some code
yourself that check for changes in the database, and then update the
routes. There is API on CamelContext to stop/remove/add routes.

You can also look at the new auto reload of xml routes
http://www.davsclaus.com/2016/12/camel-live-reload-of-xml-routes.html

That has some starting point you can use, and then you need to add the
code that checks the database instead of files, and load the routes
from the database.

Assuming your routes are in xml.


On Wed, May 17, 2017 at 8:04 AM, Prasad k <kprasadreddy3...@gmail.com> wrote:
> Hi,
>
> I need  camel route, which is being initialized using configurations stored
> in database, to re-initialize on every change in database configuration at
> run time(without Re-starting server)?
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Re-intilaizing-Camel-route-tp5799670.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to