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 2021/02/08 09:22:24 UTC
[camel-examples] branch master updated: Fixed example
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-examples.git
The following commit(s) were added to refs/heads/master by this push:
new e123f04 Fixed example
e123f04 is described below
commit e123f046bb1845357ce1b9c63fe5121dcfa37bf3
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Feb 8 10:22:06 2021 +0100
Fixed example
---
.../src/main/java/org/apache/camel/example/MyApplication.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/camel-example-main-xml/src/main/java/org/apache/camel/example/MyApplication.java b/examples/camel-example-main-xml/src/main/java/org/apache/camel/example/MyApplication.java
index 9c6b59b..cb12fc8 100644
--- a/examples/camel-example-main-xml/src/main/java/org/apache/camel/example/MyApplication.java
+++ b/examples/camel-example-main-xml/src/main/java/org/apache/camel/example/MyApplication.java
@@ -33,7 +33,7 @@ public final class MyApplication {
// (properties are automatic loaded from application.properties)
main.configure().addConfigurationClass(MyConfiguration.class);
// and add all the XML routes
- main.configure().withXmlRoutes("routes/*.xml");
+ main.configure().withRoutesIncludePattern("routes/*.xml");
// now keep the application running until the JVM is terminated (ctrl + c or sigterm)
main.run(args);