Repository: camel Updated Branches: refs/heads/master cc34580ca -> 72ec197e3
CAMEL-8023: Added javadoc for bean component. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/72ec197e Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/72ec197e Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/72ec197e Branch: refs/heads/master Commit: 72ec197e3a98d874bcedf3889f398fba2f9c7494 Parents: cc34580 Author: Claus Ibsen <davscl...@apache.org> Authored: Fri Feb 6 10:58:41 2015 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Fri Feb 6 10:58:41 2015 +0100 ---------------------------------------------------------------------- .../org/apache/camel/component/bean/BeanEndpoint.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/72ec197e/camel-core/src/main/java/org/apache/camel/component/bean/BeanEndpoint.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/component/bean/BeanEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/bean/BeanEndpoint.java index c3a408f..ab56ac4 100644 --- a/camel-core/src/main/java/org/apache/camel/component/bean/BeanEndpoint.java +++ b/camel-core/src/main/java/org/apache/camel/component/bean/BeanEndpoint.java @@ -75,7 +75,8 @@ public class BeanEndpoint extends ProcessorEndpoint { } /** - * Whether to message body is an array type to use during bean parameter binding. + * How to treat the parameters which are passed from the message body; + * if it is true, the message body should be an array of parameters. * <p/> * Note: This option is used internally by Camel, and is not intended for end users to use. * @@ -91,12 +92,8 @@ public class BeanEndpoint extends ProcessorEndpoint { } /** - * Whether to cache the lookup of the bean. - * <p/> - * If this option is enabled, then the bean is used as a singleton scope. - * <p/> - * The default value of false, let Camel lookup the bean on each usage, which allows to honor - * Spring, CDI, etc to control the scope of the bean. + * If enabled, Camel will cache the result of the first Registry look-up. + * Cache can be enabled if the bean in the Registry is defined as a singleton scope. */ public void setCache(boolean cache) { this.cache = cache;