You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2017/09/04 12:11:01 UTC

[jira] [Resolved] (SM-3454) elasticsearch client 5.x bundle should export TransportClient

     [ https://issues.apache.org/jira/browse/SM-3454?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SM-3454.
--------------------------------------
    Resolution: Fixed

> elasticsearch client 5.x bundle should export TransportClient
> -------------------------------------------------------------
>
>                 Key: SM-3454
>                 URL: https://issues.apache.org/jira/browse/SM-3454
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: bundles
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: bundles-2017.08
>
>
> In order to work with elasticsearch 5 you need TransportClient as mentioned
> in
> https://www.elastic.co/guide/en/elasticsearch/client/java-api/5.5/transport-client.html 
> which is available in Elasticsearch bundle
> To get the TransportClient for first step you need to use
> PreBuiltTransportClient which is available in Elasticsearch-Client bundle.
> Now the problem is that Elasticsearch-Client which is expected to return
> TransportClient does not have it and also not importing it and gives class
> not found exception " Caused by: java.lang.ClassNotFoundException:
> org.elasticsearch.client.transport.TransportClient not found by
> org.apache.servicemix.bundles.elasticsearch-client [127]"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)