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

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


The following commit(s) were added to refs/heads/camel-4.8.x by this push:
     new e9a7a7f7879 CAMEL-22061: camel-test-junit - Make it easy to include 
more than 1 route builder in Java as before the method was deprecated
e9a7a7f7879 is described below

commit e9a7a7f7879f362e97e51f0b4e4cfdbeb3f972be
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue May 13 13:30:54 2025 +0200

    CAMEL-22061: camel-test-junit - Make it easy to include more than 1 route 
builder in Java as before the method was deprecated
---
 .../main/java/org/apache/camel/test/junit5/CamelTestSupport.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
index ee15babf0b2..d339e4f8c81 100644
--- 
a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
+++ 
b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/CamelTestSupport.java
@@ -368,6 +368,8 @@ public abstract class CamelTestSupport extends 
AbstractTestSupport
 
     /**
      * Factory method which derived classes can use to create a {@link 
RouteBuilder} to define the routes for testing
+     *
+     * @see #createRouteBuilders()
      */
     protected RoutesBuilder createRouteBuilder() throws Exception {
         return new RouteBuilder() {
@@ -380,12 +382,10 @@ public abstract class CamelTestSupport extends 
AbstractTestSupport
 
     /**
      * Factory method which derived classes can use to create an array of 
{@link org.apache.camel.builder.RouteBuilder}s
-     * to define the routes for testing
+     * to define the routes for testing.
      *
-     * @see        #createRouteBuilder()
-     * @deprecated This method will be made private. Do not use
+     * @see #createRouteBuilder()
      */
-    @Deprecated(since = "4.7.0")
     protected RoutesBuilder[] createRouteBuilders() throws Exception {
         return new RoutesBuilder[] { createRouteBuilder() };
     }

Reply via email to