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:49 UTC
[camel] 11/12: Camel-Robotframework: update docs reflecting
allowTemplateFromHeader introduction
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 bb16089776cf427b6cf9b19d9bac3b3e6f44ea4a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jun 25 08:31:55 2020 +0200
Camel-Robotframework: update docs reflecting allowTemplateFromHeader introduction
---
.../src/main/docs/robotframework-component.adoc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/components/camel-robotframework/src/main/docs/robotframework-component.adoc b/components/camel-robotframework/src/main/docs/robotframework-component.adoc
index a46a547..175aa79 100644
--- a/components/camel-robotframework/src/main/docs/robotframework-component.adoc
+++ b/components/camel-robotframework/src/main/docs/robotframework-component.adoc
@@ -232,7 +232,7 @@ should use dynamically via a header, so for example:
----
from("direct:in")
.setHeader(RobotFrameworkCamelConstants.CAMEL_ROBOT_RESOURCE_URI).constant("path/to/my/template.robot")
- .to("robotframework:dummy");
+ .to("robotframework:dummy?allowTemplateFromHeader=true");
----
Robotframework component helps you pass values into robot test cases
@@ -245,7 +245,7 @@ different ways. Exchange body, headers and properties.
from("direct:in")
.setBody(constant("Hello Robot"))
.setHeader(RobotFrameworkCamelConstants.CAMEL_ROBOT_RESOURCE_URI).constant("path/to/my/template.robot")
- .to("robotframework:dummy");
+ .to("robotframework:dummy?allowTemplateFromHeader=true");
----
And the `template.robot` file:
@@ -263,7 +263,7 @@ And the `template.robot` file:
from("direct:in")
.setHeader("testHeader", constant("testHeaderValue"))
.setHeader(RobotFrameworkCamelConstants.CAMEL_ROBOT_RESOURCE_URI).constant("path/to/my/template.robot")
- .to("robotframework:dummy");
+ .to("robotframework:dummy?allowTemplateFromHeader=true");
----
And the `template.robot` file:
@@ -281,7 +281,7 @@ And the `template.robot` file:
from("direct:in")
.setProperty"testProperty", constant("testPropertyValue"))
.setHeader(RobotFrameworkCamelConstants.CAMEL_ROBOT_RESOURCE_URI).constant("path/to/my/template.robot")
- .to("robotframework:dummy");
+ .to("robotframework:dummy?allowTemplateFromHeader=true");
----
And the `template.robot` file: