Repository: camel
Updated Branches:
  refs/heads/master 75bd07bf1 -> 55f70a327


Polished


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/9bda852e
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/9bda852e
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/9bda852e

Branch: refs/heads/master
Commit: 9bda852e16d7a7a3decbd4004d4febb584da6e66
Parents: 75bd07b
Author: Claus Ibsen <davscl...@apache.org>
Authored: Wed Feb 8 19:50:22 2017 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Wed Feb 8 19:50:22 2017 +0100

----------------------------------------------------------------------
 examples/camel-example-reload/Readme.md | 22 +++++++++++++++-------
 1 file changed, 15 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/9bda852e/examples/camel-example-reload/Readme.md
----------------------------------------------------------------------
diff --git a/examples/camel-example-reload/Readme.md 
b/examples/camel-example-reload/Readme.md
index f2e8011..48142c8 100644
--- a/examples/camel-example-reload/Readme.md
+++ b/examples/camel-example-reload/Readme.md
@@ -1,7 +1,7 @@
-Camel Example Spring Boot Reload
-================================
+Camel Example Reload
+====================
 
-This example runs a Camel Spring Boot application where the routes are defined 
in
+This example runs a Camel Standalone application where the routes are defined 
in
 Camel XML files located in `src/main/resources/camel/myroutes.xml`.
 
 At runtime you can modify this file in the source code and then Camel will 
automatic reload
@@ -20,7 +20,7 @@ You need to build the example first with
     
 Then you can run it from Maven
     
-    mvn spring-boot:run
+    mvn camel:run
         
 ### Reload changes
     
@@ -34,6 +34,14 @@ You modify the source file directory in the 
`src/main/resources/camel/` director
 
 ### Enabling live reload
 
-Live reload can be enabled in the `application.properties` file as shown below:
-
-    TODO:
\ No newline at end of file
+Live reload is enabled in the `camel-maven-plugin` as shown below:
+
+      <plugin>
+        <groupId>org.apache.camel</groupId>
+        <artifactId>camel-maven-plugin</artifactId>
+        <version>${project.version}</version>
+        <configuration>
+          <!-- turn on reload when the XML file is updated in the source code 
-->
+          
<fileWatcherDirectory>src/main/resources/META-INF/spring</fileWatcherDirectory>
+        </configuration>
+      </plugin>

Reply via email to