You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2018/09/25 07:17:49 UTC
[camel-k] branch master updated: Avoid deprecated addRoutes
(replaced by includeRoutes)
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 87b56a6 Avoid deprecated addRoutes (replaced by includeRoutes)
87b56a6 is described below
commit 87b56a69e09b404ef67206c7abf535eced6b6ace
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Tue Sep 25 08:34:03 2018 +0200
Avoid deprecated addRoutes (replaced by includeRoutes)
Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
runtime/jvm/src/main/java/org/apache/camel/k/jvm/RoutesLoaders.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/jvm/src/main/java/org/apache/camel/k/jvm/RoutesLoaders.java b/runtime/jvm/src/main/java/org/apache/camel/k/jvm/RoutesLoaders.java
index 5b27f99..448c2bb 100644
--- a/runtime/jvm/src/main/java/org/apache/camel/k/jvm/RoutesLoaders.java
+++ b/runtime/jvm/src/main/java/org/apache/camel/k/jvm/RoutesLoaders.java
@@ -93,7 +93,7 @@ public enum RoutesLoaders implements RoutesLoader {
}
// Wrap routes builder
- addRoutes(
+ includeRoutes(
Reflect.compile(name, IOUtils.toString(is, StandardCharsets.UTF_8)).create().get()
);
}