camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 05/06: Fixed SetHeader EIP docs
Date Mon, 05 Mar 2018 09:09:52 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 2f2e81a30d6bf2783669a302605d87eade5054f0
Author: Andrea Cosentino <ancosen@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.

Mime
View raw message