You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dh...@apache.org on 2014/09/01 08:46:46 UTC

[2/2] git commit: CAMEL-7771: Made findMethod() protected to support callback based API components

CAMEL-7771: Made findMethod() protected to support callback based API components


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

Branch: refs/heads/master
Commit: 6547fc71555414588d18f180f99f0179a472792b
Parents: 7f9959b
Author: Dhiraj Bokde <dh...@yahoo.com>
Authored: Sun Aug 31 23:31:45 2014 -0700
Committer: Dhiraj Bokde <dh...@yahoo.com>
Committed: Sun Aug 31 23:41:09 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/camel/blob/6547fc71/camel-core/src/main/java/org/apache/camel/util/component/AbstractApiProducer.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/component/AbstractApiProducer.java b/camel-core/src/main/java/org/apache/camel/util/component/AbstractApiProducer.java
index 11b7c74..0a6130f 100644
--- a/camel-core/src/main/java/org/apache/camel/util/component/AbstractApiProducer.java
+++ b/camel-core/src/main/java/org/apache/camel/util/component/AbstractApiProducer.java
@@ -131,7 +131,7 @@ public abstract class AbstractApiProducer<E extends Enum<E> & ApiName, T>
         // do nothing by default
     }
 
-    private ApiMethod findMethod(Exchange exchange, Map<String, Object> properties) {
+    protected ApiMethod findMethod(Exchange exchange, Map<String, Object> properties) {
 
         ApiMethod method = null;
         final List<ApiMethod> candidates = endpoint.getCandidates();