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 <[email protected]>
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

Reply via email to