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/02/26 10:26:45 UTC

[camel] branch master updated: Added remove Header 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


The following commit(s) were added to refs/heads/master by this push:
     new a452a9e  Added remove Header EIP docs
a452a9e is described below

commit a452a9e12074ce83ba07da981b52901d0b42b80d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 26 11:26:09 2018 +0100

    Added remove Header EIP docs
---
 .../src/main/docs/eips/removeHeader-eip.adoc       | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/camel-core/src/main/docs/eips/removeHeader-eip.adoc b/camel-core/src/main/docs/eips/removeHeader-eip.adoc
new file mode 100644
index 0000000..a89d6d2
--- /dev/null
+++ b/camel-core/src/main/docs/eips/removeHeader-eip.adoc
@@ -0,0 +1,40 @@
+[[removeHeader-eip]]
+== Remove Header EIP
+The Remove Header EIP allows you to remove an header from your exchange.
+
+== Options
+
+// eip options: START
+The Remove Header EIP supports 1 options which are listed below:
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *headerName* | *Required* Name of header to remove |  | String
+|===
+// eip options: END
+
+=== Samples
+
+[source,java]
+----
+from("seda:b")
+  .removeHeader("myHeader")
+  .to("mock:result");
+----
+
+==== Spring DSL
+The sample below demonstrates the delay in Spring DSL:
+
+[source,xml]
+----
+<route>
+  <from uri="seda:b"/>
+  <removeHeader>
+     <constant>myHeader</constant>
+  <removeHeader/>
+  <to uri="mock:result"/>
+</route>
+
+----

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