This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-4.10.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.10.x by this push: new f1052f0aa39 CAMEL-22061: camel-test-junit - Make it easy to include more than 1 route builder in Java as before the method was deprecated f1052f0aa39 is described below commit f1052f0aa395a343dd53a3c177883a052fbbd6e2 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 6b93ab1a550..214eb01bf23 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 @@ -345,6 +345,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() { @@ -357,12 +359,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() }; }