From commits-return-61650-archive-asf-public=cust-asf.ponee.io@camel.apache.org Fri Mar 2 08:51:30 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D8A29180679 for ; Fri, 2 Mar 2018 08:51:29 +0100 (CET) Received: (qmail 17961 invoked by uid 500); 2 Mar 2018 07:51:28 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 17852 invoked by uid 99); 2 Mar 2018 07:51:28 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Mar 2018 07:51:28 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 1DEA8827A1; Fri, 2 Mar 2018 07:51:28 +0000 (UTC) Date: Fri, 02 Mar 2018 07:51:29 +0000 To: "commits@camel.apache.org" Subject: [camel] 02/02: Added removeProperty EIP docs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: acosentino@apache.org In-Reply-To: <151997708718.9819.4871666703620634341@gitbox.apache.org> References: <151997708718.9819.4871666703620634341@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: camel X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: df71f312fa22f31ae2ce159392807ef2b234995c X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20180302075128.1DEA8827A1@gitbox.apache.org> 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 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] +---- + + + + + + +---- -- To stop receiving notification emails like this one, please contact acosentino@apache.org.