You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/08/22 09:29:28 UTC

camel git commit: Component docs

Repository: camel
Updated Branches:
  refs/heads/master 3d32dfdd9 -> 53fc2edda


Component docs


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/53fc2edd
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/53fc2edd
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/53fc2edd

Branch: refs/heads/master
Commit: 53fc2edda9101ac82e1b0be35cfd5004428ee9cd
Parents: 3d32dfd
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Aug 22 11:29:21 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Aug 22 11:29:21 2016 +0200

----------------------------------------------------------------------
 camel-core/src/main/docs/bean-language.adoc | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/53fc2edd/camel-core/src/main/docs/bean-language.adoc
----------------------------------------------------------------------
diff --git a/camel-core/src/main/docs/bean-language.adoc b/camel-core/src/main/docs/bean-language.adoc
index 573ef96..2b71b96 100644
--- a/camel-core/src/main/docs/bean-language.adoc
+++ b/camel-core/src/main/docs/bean-language.adoc
@@ -20,6 +20,29 @@ link:message.html[Message] Exchange to the method parameters; so you can
 annotate the bean to extract headers or other expressions such as
 link:xpath.html[XPath] or link:xquery.html[XQuery] from the message.
 
+[[Bean-Options]]
+Bean Options
+^^^^^^^^^^^^
+
+// language options: START
+The Bean method language supports 5 options which are listed below.
+
+
+
+{% raw %}
+[width="100%",cols="2,1m,1m,6",options="header"]
+|=======================================================================
+| Name | Default | Java Type | Description
+| bean |  | String | Either a reference or a class name of the bean to use
+| ref |  | String | Reference to bean to lookup in the registry
+| method |  | String | Name of method to call
+| beanType |  | String | Class name of the bean to use
+| trim | true | Boolean | Whether to trim the value to remove leading and trailing whitespaces and line breaks
+|=======================================================================
+{% endraw %}
+// language options: END
+
+
 [[BeanLanguage-UsingBeanExpressionsfromtheJavaDSL]]
 Using Bean Expressions from the Java DSL
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^