camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/3] camel git commit: Class component is producer only like bean is
Date Sat, 31 Dec 2016 09:10:54 GMT
Class component is producer only like bean is


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

Branch: refs/heads/camel-2.18.x
Commit: 7cad1de75015e71ab4800666a9fe057c098d2fcf
Parents: abc3190
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sat Dec 31 10:09:15 2016 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sat Dec 31 10:09:57 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/component/beanclass/ClassEndpoint.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7cad1de7/camel-core/src/main/java/org/apache/camel/component/beanclass/ClassEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/beanclass/ClassEndpoint.java
b/camel-core/src/main/java/org/apache/camel/component/beanclass/ClassEndpoint.java
index 23b1807..7d2cc50 100644
--- a/camel-core/src/main/java/org/apache/camel/component/beanclass/ClassEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/component/beanclass/ClassEndpoint.java
@@ -23,7 +23,7 @@ import org.apache.camel.spi.UriEndpoint;
 /**
  * The <a href="http://camel.apache.org/class.html">Class Component</a> is for
invoking Java Classes (Java beans) from Camel.
  */
-@UriEndpoint(scheme = "class", title = "Class", syntax = "class:beanName", label = "core,java")
+@UriEndpoint(scheme = "class", title = "Class", syntax = "class:beanName", producerOnly =
true, label = "core,java")
 public class ClassEndpoint extends BeanEndpoint {
 
     public ClassEndpoint(String endpointUri, Component component) {


Mime
View raw message