CAMEL-15312: Renamed builder
diff --git a/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyConfiguration.java b/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyConfiguration.java
index a3aa603..ac23bc0 100644
--- a/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyConfiguration.java
+++ b/examples/camel-example-routetemplate/src/main/java/org/apache/camel/example/MyConfiguration.java
@@ -17,6 +17,7 @@
 package org.apache.camel.example;
 
 import org.apache.camel.CamelContext;
+import org.apache.camel.builder.TemplatedRouteBuilder;
 
 public class MyConfiguration {
 
@@ -28,16 +29,18 @@
      * to create and add routes from the route templates during bootstrap
      */
     public void configureRouteTemplates(CamelContext context) {
+
         // create two routes from the template
-        context.addRouteFromTemplate("myTemplate")
+
+        TemplatedRouteBuilder.builder(context, "myTemplate")
             .parameter("name", "one")
             .parameter("greeting", "Hello")
-            .build();
+            .add();
 
-        context.addRouteFromTemplate("myTemplate")
+        TemplatedRouteBuilder.builder(context, "myTemplate")
             .parameter("name", "two")
             .parameter("greeting", "Bonjour")
             .parameter("myPeriod", "5s")
-            .build();
+            .add();
     }
 }