camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [06/20] camel git commit: CAMEL-9452: Camel-Elasticsearch: Support Multisearch operation
Date Sun, 27 Dec 2015 17:28:36 GMT
CAMEL-9452: Camel-Elasticsearch: Support Multisearch operation


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

Branch: refs/heads/master
Commit: 0c1d4b77848394d4bf2d681440f1c5334b682ec3
Parents: 31162f9
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sun Dec 27 13:17:57 2015 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Dec 27 18:25:25 2015 +0100

----------------------------------------------------------------------
 .../camel/component/elasticsearch/ElasticsearchProducer.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0c1d4b77/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
index 136b610..fede7ee 100644
--- a/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
+++ b/components/camel-elasticsearch/src/main/java/org/apache/camel/component/elasticsearch/ElasticsearchProducer.java
@@ -80,7 +80,7 @@ public class ElasticsearchProducer extends DefaultProducer {
             return ElasticsearchConstants.OPERATION_EXISTS;
         } else if (request instanceof SearchRequest) {
             return ElasticsearchConstants.OPERATION_SEARCH;
-        } else if (request instanceof MultiGetRequest) {
+        } else if (request instanceof MultiSearchRequest) {
             return ElasticsearchConstants.OPERATION_MULTISEARCH;
         }
 


Mime
View raw message