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 13:56:50 UTC

[camel] branch master updated: Added remove headers 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 c88f2b4  Added remove headers EIP docs
c88f2b4 is described below

commit c88f2b41bf59775495c581f3d0f24b79f80741ba
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Feb 26 14:56:28 2018 +0100

    Added remove headers EIP docs
---
 .../src/main/docs/eips/removeHeaders-eip.adoc      | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/camel-core/src/main/docs/eips/removeHeaders-eip.adoc b/camel-core/src/main/docs/eips/removeHeaders-eip.adoc
new file mode 100644
index 0000000..3f1147d
--- /dev/null
+++ b/camel-core/src/main/docs/eips/removeHeaders-eip.adoc
@@ -0,0 +1,25 @@
+[[removeHeaders-eip]]
+== Remove Headers EIP
+The Remove Headers EIP allows you to remove headers from your exchange.
+
+== Options
+
+// eip options: START
+The Remove Headers EIP supports 2 options which are listed below:
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *pattern* | *Required* Name or pattern of headers to remove |  | String
+| *excludePattern* | Name or patter of headers to not remove |  | String
+|===
+// eip options: END
+
+=== Samples
+
+[source,java]
+----
+from("seda:b")
+  .removeHeaders(map)
+  .to("mock:result");
+----

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