Hi

I only noticed because IDEA said there was a potential issue here,
while I had all the components opened to improve their component docs
descriptions.

On Sun, Dec 27, 2015 at 8:21 PM, Andrea Cosentino
<[email protected]> wrote:
> Sorry. My mistake.
>
> Inviato da Yahoo Mail su Android
>
>   Il dom, 27 dic, 2015 alle 18:28, [email protected]<[email protected]> 
> ha scritto:   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 <[email protected]>
> Authored: Sun Dec 27 13:17:57 2015 +0100
> Committer: Claus Ibsen <[email protected]>
> 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;
>         }
>
>
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to