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 2018/03/05 09:09:52 UTC

[camel] 05/06: Fixed SetHeader EIP 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 2f2e81a30d6bf2783669a302605d87eade5054f0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 5 10:09:10 2018 +0100

    Fixed SetHeader EIP docs
---
 camel-core/src/main/docs/eips/setHeader-eip.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/camel-core/src/main/docs/eips/setHeader-eip.adoc b/camel-core/src/main/docs/eips/setHeader-eip.adoc
index cacd003..936671a 100644
--- a/camel-core/src/main/docs/eips/setHeader-eip.adoc
+++ b/camel-core/src/main/docs/eips/setHeader-eip.adoc
@@ -38,9 +38,9 @@ And the same example using XML:
 <camelContext xmlns="http://camel.apache.org/schema/spring">
     <route>
         <from uri="direct:a"/>
-        <setProperty headerName="myHeader">
+        <setHeader headerName="myHeader">
             <constant>test</constant>
-        </setProperty>
+        </setHeader>
         <to uri="direct:b"/>
     </route>
 </camelContext>

-- 
To stop receiving notification emails like this one, please contact
acosentino@apache.org.