It is about camel-elasticsearch5 component.
https://github.com/apache/camel/blob/master/platforms/karaf/features/src/main/resources/features.xml#L566-L580

That basically use following bundles.
1 . Elasticsearch-Bundle
http://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/5.4.3_1

2. Elasticsearch-Client Bundle
https://mvnrepository.com/artifact/org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch-client/5.4.3_1

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]"

So the question is how it is expected to work?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Issue-with-camel-elasticsearch5-component-tp5809063.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to