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 df71f312fa22f31ae2ce159392807ef2b234995c Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Fri Mar 2 08:51:11 2018 +0100 Added removeProperty EIP docs --- .../src/main/docs/eips/removeProperty-eip.adoc | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/camel-core/src/main/docs/eips/removeProperty-eip.adoc b/camel-core/src/main/docs/eips/removeProperty-eip.adoc new file mode 100644 index 0000000..a3f1a06 --- /dev/null +++ b/camel-core/src/main/docs/eips/removeProperty-eip.adoc @@ -0,0 +1,44 @@ +[[removeProperty-eip]] +== Remove Property EIP + +The RemoveProperty EIP allows you to set the body of your exchange. + +=== Options + +// eip options: START +The Remove Property EIP supports 1 options which are listed below: + +[width="100%",cols="2,5,^1,2",options="header"] +|=== +| Name | Description | Default | Type +| *propertyName* | *Required* Name of property to remove | | String +|=== +// eip options: END + +=== Examples + +The following example shows how to use the SetProperty EIP + +[source,java] +---- +RouteBuilder builder = new RouteBuilder() { + public void configure() { + from("direct:a") + .removeProperty("myProperty") + .to("direct:b"); + } +}; +---- + + +And the same example using XML: + +[source,xml] +---- +<camelContext xmlns="http://camel.apache.org/schema/spring"> + <route> + <from uri="direct:a"/> + <removeProperty propertyName="myProperty"/> + </route> +</camelContext> +---- -- To stop receiving notification emails like this one, please contact acosent...@apache.org.