You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/06/25 06:35:44 UTC
[camel] 06/12: Regen website docs
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 a4bf6dfd37c82bce1ddb37c8800abb52851271db
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jun 25 08:18:43 2020 +0200
Regen website docs
---
docs/components/modules/ROOT/pages/jslt-component.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/components/modules/ROOT/pages/jslt-component.adoc b/docs/components/modules/ROOT/pages/jslt-component.adoc
index cba9fe7..784af65 100644
--- a/docs/components/modules/ROOT/pages/jslt-component.adoc
+++ b/docs/components/modules/ROOT/pages/jslt-component.adoc
@@ -156,7 +156,7 @@ dynamically via a header, so for example:
---------------------------------------------------------------------
from("direct:in").
setHeader("CamelJsltResourceUri").constant("path/to/my/spec.json").
- to("jslt:dummy");
+ to("jslt:dummy?allowTemplateFromHeader=true");
---------------------------------------------------------------------
Or send whole jslt expression via header: (suitable for querying)
@@ -165,7 +165,7 @@ Or send whole jslt expression via header: (suitable for querying)
---------------------------------------------------------------------
from("direct:in").
setHeader("CamelJsltResourceUri").constant(".published").
- to("jslt:dummy");
+ to("jslt:dummy?allowTemplateFromHeader=true");
---------------------------------------------------------------------
Passing exchange properties to the jslt expression can be done like this