camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 09/12: Camel-Mvel: update docs reflecting allowTemplateFromHeader introduction
Date Thu, 25 Jun 2020 06:35:47 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 30148959734f9adc13ac8cd3fbce620a70eec062
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Thu Jun 25 08:22:55 2020 +0200

    Camel-Mvel: update docs reflecting allowTemplateFromHeader introduction
---
 components/camel-mvel/src/main/docs/mvel-component.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/components/camel-mvel/src/main/docs/mvel-component.adoc b/components/camel-mvel/src/main/docs/mvel-component.adoc
index 4b9aa5d..1e06961 100644
--- a/components/camel-mvel/src/main/docs/mvel-component.adoc
+++ b/components/camel-mvel/src/main/docs/mvel-component.adoc
@@ -185,7 +185,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
@@ -195,7 +195,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