You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/01/27 10:16:13 UTC

[camel-examples] branch main updated: Fix route reload configuration (#59)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-examples.git


The following commit(s) were added to refs/heads/main by this push:
     new 10557f4  Fix route reload configuration (#59)
10557f4 is described below

commit 10557f4a34bbe1c428361e40deeb82adfa4372da
Author: Nicolas Filotto <es...@users.noreply.github.com>
AuthorDate: Thu Jan 27 11:15:53 2022 +0100

    Fix route reload configuration (#59)
---
 examples/main-xml/src/main/resources/application.properties  | 4 ++--
 examples/main-yaml/src/main/resources/application.properties | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/examples/main-xml/src/main/resources/application.properties b/examples/main-xml/src/main/resources/application.properties
index dcbef5d..88cffd1 100644
--- a/examples/main-xml/src/main/resources/application.properties
+++ b/examples/main-xml/src/main/resources/application.properties
@@ -25,9 +25,9 @@ camel.main.routes-include-pattern = routes/*.xml
 # turn on route reloading on file changes
 camel.main.routes-reload-enabled = true
 # the base directory to watch
-camel.main.routes-reload-directory = src/main/resources
+camel.main.routes-reload-directory = src/main/resources/routes
 # pattern(s) for files to watch
-camel.main.routes-reload-pattern = routes/*.xml
+camel.main.routes-reload-pattern = *.xml
 
 # properties used in the route
 myCron = 0/2 * * * * ?
diff --git a/examples/main-yaml/src/main/resources/application.properties b/examples/main-yaml/src/main/resources/application.properties
index 3d66ad8..8aba99f 100644
--- a/examples/main-yaml/src/main/resources/application.properties
+++ b/examples/main-yaml/src/main/resources/application.properties
@@ -22,9 +22,9 @@ camel.main.name = MyYamlCamel
 # turn on route reloading on file changes
 camel.main.routes-reload-enabled = true
 # the base directory to watch
-camel.main.routes-reload-directory = src/main/resources
+camel.main.routes-reload-directory = src/main/resources/routes
 # pattern(s) for files to watch
-camel.main.routes-reload-pattern = routes/*.yaml
+camel.main.routes-reload-pattern = *.yaml
 # on reload should all existing routes be removed first
 camel.main.routes-reload-remove-all-routes = true