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 2019/02/06 09:16:22 UTC
[camel] branch camel-2.x updated: Deprecate api to be removed in
Camel 3
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-2.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.x by this push:
new 04eeb89 Deprecate api to be removed in Camel 3
04eeb89 is described below
commit 04eeb89e1afe50987e45972e009b7e71dd3f92bc
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Feb 6 10:02:48 2019 +0100
Deprecate api to be removed in Camel 3
---
camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java b/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
index e4bd4b2..95ea28f 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
@@ -425,7 +425,9 @@ public abstract class RouteBuilder extends BuilderSupport implements RoutesBuild
* @param routes other builder with routes to include
*
* @throws Exception can be thrown during configuration
+ * @deprecated do not use, will be removed in Camel 3
*/
+ @Deprecated
public void includeRoutes(RoutesBuilder routes) throws Exception {
// TODO: We should support including multiple routes so I think invoking configure()
// needs to be deferred to later