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

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

commit bfaf1d32bd5cbd518e8dfad42107c2bb0fd5a30c
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue May 5 17:40:45 2020 +0200

    Fixed build and regen
---
 docs/modules/ROOT/pages/freemarker-starter.adoc                       | 4 ++--
 .../service2/src/main/java/sample/camel/Service2Application.java      | 4 ++--
 .../client2/src/main/java/sample/camel/Client2Application.java        | 2 +-
 .../service2/src/main/java/sample/camel/Service2Application.java      | 4 ++--
 .../service2/src/main/java/sample/camel/Service2Application.java      | 2 +-
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/docs/modules/ROOT/pages/freemarker-starter.adoc 
b/docs/modules/ROOT/pages/freemarker-starter.adoc
index 1a047bf..189b15e 100644
--- a/docs/modules/ROOT/pages/freemarker-starter.adoc
+++ b/docs/modules/ROOT/pages/freemarker-starter.adoc
@@ -17,17 +17,17 @@ When using freemarker with Spring Boot make sure to use the 
following Maven depe
 ----
 
 
-The component supports 4 options, which are listed below.
+The component supports 5 options, which are listed below.
 
 
 
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
+| *camel.component.freemarker.allow-template-from-header* | Whether to allow 
to use resource template from header or not (default false). Enabling this 
allows to specify dynamic templates via message header. However this can be 
seen as a potential security vulnerability if the header is coming from a 
malicious user, so use this with care. | false | Boolean
 | *camel.component.freemarker.basic-property-binding* | Whether the component 
should use basic property binding (Camel 2.x) or the newer property binding 
with additional capabilities | false | Boolean
 | *camel.component.freemarker.configuration* | To use an existing 
freemarker.template.Configuration instance as the configuration. The option is 
a freemarker.template.Configuration type. |  | String
 | *camel.component.freemarker.enabled* | Whether to enable auto configuration 
of the freemarker component. This is enabled by default. |  | Boolean
 | *camel.component.freemarker.lazy-start-producer* | Whether the producer 
should be started lazy (on the first message). By starting lazy you can use 
this to allow CamelContext and routes to startup in situations where a producer 
may otherwise fail during starting and cause the route to fail being started. 
By deferring this startup to be lazy then the startup failure can be handled 
during routing messages via Camel's routing error handlers. Beware that when 
the first message is processed [...]
 |===
-
 // spring-boot-auto-configure options: END
diff --git 
a/examples/camel-example-spring-boot-hystrix/service2/src/main/java/sample/camel/Service2Application.java
 
b/examples/camel-example-spring-boot-hystrix/service2/src/main/java/sample/camel/Service2Application.java
index e2b081d..aacbdbc 100644
--- 
a/examples/camel-example-spring-boot-hystrix/service2/src/main/java/sample/camel/Service2Application.java
+++ 
b/examples/camel-example-spring-boot-hystrix/service2/src/main/java/sample/camel/Service2Application.java
@@ -26,9 +26,9 @@ public class Service2Application {
 
     public static void main(String[] args) throws Exception {
         Main main = new Main();
-        main.addRouteBuilder(new Service2Route());
+        main.configure().addRoutesBuilder(new Service2Route());
         main.run();
     }
 
 }
-//CHECKSTYLE:ON
\ No newline at end of file
+//CHECKSTYLE:ON
diff --git 
a/examples/camel-example-spring-boot-resilience4j/client2/src/main/java/sample/camel/Client2Application.java
 
b/examples/camel-example-spring-boot-resilience4j/client2/src/main/java/sample/camel/Client2Application.java
index 89d6340..e163047 100644
--- 
a/examples/camel-example-spring-boot-resilience4j/client2/src/main/java/sample/camel/Client2Application.java
+++ 
b/examples/camel-example-spring-boot-resilience4j/client2/src/main/java/sample/camel/Client2Application.java
@@ -28,7 +28,7 @@ public final class Client2Application {
 
     public static void main(String[] args) throws Exception {
         Main main = new Main();
-        main.addRoutesBuilder(new Client2Route());
+        main.configure().addRoutesBuilder(new Client2Route());
         main.bind("counterBean", new CounterBean());
         main.run();
     }
diff --git 
a/examples/camel-example-spring-boot-resilience4j/service2/src/main/java/sample/camel/Service2Application.java
 
b/examples/camel-example-spring-boot-resilience4j/service2/src/main/java/sample/camel/Service2Application.java
index b0b3fcc..f295e02 100644
--- 
a/examples/camel-example-spring-boot-resilience4j/service2/src/main/java/sample/camel/Service2Application.java
+++ 
b/examples/camel-example-spring-boot-resilience4j/service2/src/main/java/sample/camel/Service2Application.java
@@ -26,9 +26,9 @@ public class Service2Application {
 
     public static void main(String[] args) throws Exception {
         Main main = new Main();
-        main.addRoutesBuilder(new Service2Route());
+        main.configure().addRoutesBuilder(new Service2Route());
         main.run();
     }
 
 }
-//CHECKSTYLE:ON
\ No newline at end of file
+//CHECKSTYLE:ON
diff --git 
a/examples/camel-example-spring-boot-zipkin/service2/src/main/java/sample/camel/Service2Application.java
 
b/examples/camel-example-spring-boot-zipkin/service2/src/main/java/sample/camel/Service2Application.java
index 40b3364..2fa65d2 100644
--- 
a/examples/camel-example-spring-boot-zipkin/service2/src/main/java/sample/camel/Service2Application.java
+++ 
b/examples/camel-example-spring-boot-zipkin/service2/src/main/java/sample/camel/Service2Application.java
@@ -26,7 +26,7 @@ public final class Service2Application {
 
     public static void main(String[] args) throws Exception {
         Main main = new Main();
-        main.addRouteBuilder(new Service2Route());
+        main.configure().addRoutesBuilder(new Service2Route());
         main.run();
     }
 

Reply via email to