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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3f05327  Polished
3f05327 is described below

commit 3f0532730c2e82b5b872d9a265e59c4fd6e2a11d
Author: Claus Ibsen <[email protected]>
AuthorDate: Tue Dec 8 14:12:30 2020 +0100

    Polished
---
 examples/camel-example-routetemplate/readme.adoc                      | 2 +-
 .../src/main/java/org/apache/camel/example/MyTemplateBuilder.java     | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/examples/camel-example-routetemplate/readme.adoc 
b/examples/camel-example-routetemplate/readme.adoc
index 9d14ad5..b4e757f 100644
--- a/examples/camel-example-routetemplate/readme.adoc
+++ b/examples/camel-example-routetemplate/readme.adoc
@@ -7,7 +7,7 @@ The route template is defined via Java or XML DSL 
(RouteBuilder) in the `MyRoute
 
 The `application.properties` is used to create two routes from the template 
using different set of parameters.
 
-An alternative to create routes is from Java which is done in the 
`MyConfiguration.java` class.
+An alternative to create routes is from Java which is done in the 
`MyTemplateBuilder.java` class.
 See the `MyApplication.java` where you can change the source to use java 
instead of property file for the template parameters.
 
 The example runs standalone via Camel Main in the `MyApplication.java` source 
file.
diff --git 
a/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyTemplateBuilder.java
 
b/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyTemplateBuilder.java
index a9fbceb..6e0ba67 100644
--- 
a/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyTemplateBuilder.java
+++ 
b/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyTemplateBuilder.java
@@ -24,10 +24,6 @@ public class MyTemplateBuilder implements 
ConfigureRouteTemplates {
 
     /**
      * Configure and adds routes from route templates.
-     *
-     * The method name <tt>configureRouteTemplates</tt> is detected from 
camel-main
-     * and invoked after routes and route templates has been loaded which 
allows
-     * to create and add routes from the route templates during bootstrap
      */
     public void configure(CamelContext context) {
 

Reply via email to