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] [Commented] (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:comment-tabpanel&focusedCommentId=16152539#comment-16152539 ] 

Jean-Baptiste Onofré commented on SM-3454:
------------------------------------------

https://git-wip-us.apache.org/repos/asf?p=servicemix-bundles.git;a=commitdiff;h=a65b9aec6674d2592066ff479975723895915e08

> 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)