camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 10/12: Regen website docs
Date Thu, 25 Jun 2020 06:35:48 GMT
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.git

commit 2654e85d0d9a7670aab207005a3dba80642ce093
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Thu Jun 25 08:26:25 2020 +0200

    Regen website docs
---
 docs/components/modules/ROOT/pages/mvel-component.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/components/modules/ROOT/pages/mvel-component.adoc b/docs/components/modules/ROOT/pages/mvel-component.adoc
index 759ad5a..701618b 100644
--- a/docs/components/modules/ROOT/pages/mvel-component.adoc
+++ b/docs/components/modules/ROOT/pages/mvel-component.adoc
@@ -187,7 +187,7 @@ header, so for example:
 -------------------------------------------------------------------------
 from("direct:in").
   setHeader("CamelMvelResourceUri").constant("path/to/my/template.mvel").
-  to("mvel:dummy");
+  to("mvel:dummy?allowTemplateFromHeader=true");
 -------------------------------------------------------------------------
 
 To specify a template directly as a header the component should use
@@ -197,7 +197,7 @@ dynamically via a header, so for example:
 ------------------------------------------------------------------------------------------
 from("direct:in").
   setHeader("CamelMvelTemplate").constant("@{\"The result is \" + request.body * 3}\" }").
-  to("velocity:dummy");
+  to("velocity:dummy?allowTemplateFromHeader=true");
 ------------------------------------------------------------------------------------------
 
 


Mime
View raw message