Claus Ibsen created CAMEL-10599:
-----------------------------------
Summary: Add watcher to camel:run to reload on routes xml changes
Key: CAMEL-10599
URL: https://issues.apache.org/jira/browse/CAMEL-10599
Project: Camel
Issue Type: New Feature
Components: camel-core, tooling
Reporter: Claus Ibsen
Fix For: Future
Some developers would like to keep a JVM running with Camel and then be able to
edit a xml file with <camelContext> or <routes> and then have a file watcher
automatic detect the file change and reload the routes.
We can have some kind of functionality of that in camel-core for 3rd party to
hook into. And then add it to mvn camel:run for some apps where you can quickly
bootup a Camel JVM and then scan for file changes with reload.
Mind that this will only work for Camel routes as its not for spring <bean> or
OSGi <blueprint> etc as they have their own deployment model. But with the 3rd
party hooks, then this may be a way of triggering mvn camel:run to trigger a
osgi blueprint reload also when it runs in pojosr mode. Or a spring boot live
reload etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)