This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch camel-3.4.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit c0a6ebe562856ea036a4c9b489635673a34e24de Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jun 25 07:20:53 2020 +0200 Regen website docs --- docs/components/modules/ROOT/pages/velocity-component.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/components/modules/ROOT/pages/velocity-component.adoc b/docs/components/modules/ROOT/pages/velocity-component.adoc index f6caab4..27134ff 100644 --- a/docs/components/modules/ROOT/pages/velocity-component.adoc +++ b/docs/components/modules/ROOT/pages/velocity-component.adoc @@ -252,7 +252,7 @@ should use dynamically via a header, so for example: --------------------------------------------------------------------------- from("direct:in"). setHeader("CamelVelocityResourceUri").constant("path/to/my/template.vm"). - to("velocity:dummy"); + to("velocity:dummy?allowTemplateFromHeader=true""); --------------------------------------------------------------------------- It's possible to specify a template directly as a header @@ -262,7 +262,7 @@ the component should use dynamically via a header, so for example: --------------------------------------------------------------------------------------------------------------- from("direct:in"). setHeader("CamelVelocityTemplate").constant("Hi this is a velocity template that can do templating ${body}"). - to("velocity:dummy"); + to("velocity:dummy?allowTemplateFromHeader=true""); --------------------------------------------------------------------------------------------------------------- == The Email Sample