You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/12/27 08:09:45 UTC
[camel] branch master updated: Add "command" header to the example
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 0e55f86 Add "command" header to the example
0e55f86 is described below
commit 0e55f86a749fd925cffce7609bb9dfd280bbd981
Author: Kamil <ex...@gmail.com>
AuthorDate: Tue Dec 26 17:19:26 2017 +0100
Add "command" header to the example
Fixes https://issues.apache.org/jira/browse/CAMEL-12102
---
.../camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc b/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc
index e9328ff..aebc018 100644
--- a/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc
+++ b/components/camel-sap-netweaver/src/main/docs/sap-netweaver-component.adoc
@@ -127,12 +127,13 @@ We have the following Camel route
[source,java]
-----------------------------------------------------------------------------
from("direct:start")
+ .setHeader(NetWeaverConstants.COMMAND, constant(command))
.toF("sap-netweaver:%s?username=%s&password=%s", url, username, password)
.to("log:response")
.to("velocity:flight-info.vm")
-----------------------------------------------------------------------------
-Where url, username, and password is defined as:
+Where url, username, password and command is defined as:
[source,java]
---------------------------------------------------------------------------------------------------------------------------------------
--
To stop receiving notification emails like this one, please contact
['"commits@camel.apache.org" <co...@camel.apache.org>'].