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 2019/04/25 10:33:09 UTC

[camel] 04/17: CAMEL-13449: camel3 - Move bean component out of camel-core

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch bean
in repository https://gitbox.apache.org/repos/asf/camel.git

commit c4319e1cf45c170ccf30175e7f6d1666daad3bf9
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Apr 24 19:08:31 2019 +0200

    CAMEL-13449: camel3 - Move bean component out of camel-core
---
 core/camel-core/src/main/docs/bean-language.adoc                      | 2 +-
 .../camel/language/bean/springboot/BeanLanguageConfiguration.java     | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/core/camel-core/src/main/docs/bean-language.adoc b/core/camel-core/src/main/docs/bean-language.adoc
index a9f37a9..ecab01d 100644
--- a/core/camel-core/src/main/docs/bean-language.adoc
+++ b/core/camel-core/src/main/docs/bean-language.adoc
@@ -34,7 +34,7 @@ The Bean method language supports 4 options, which are listed below.
 | 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 | 
+| trim | true | Boolean | Whether to trim the value to remove leading and trailing whitespaces and line breaks
 |===
 // language options: END
 
diff --git a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageConfiguration.java b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageConfiguration.java
index 1c0f763..8e28050 100644
--- a/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageConfiguration.java
+++ b/platforms/spring-boot/components-starter/camel-core-starter/src/main/java/org/apache/camel/language/bean/springboot/BeanLanguageConfiguration.java
@@ -36,6 +36,10 @@ public class BeanLanguageConfiguration
      * enabled by default.
      */
     private Boolean enabled;
+    /**
+     * Whether to trim the value to remove leading and trailing whitespaces and
+     * line breaks
+     */
     private Boolean trim = true;
 
     public Boolean getTrim() {