And I hear that the ES guys are working on a Java client that is more
agnostic what ES server version you use. The current Java client is
too tightly coupled to the server version.


On Fri, Apr 22, 2016 at 11:12 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> This is not a Camel problem.
>
> Its limitation with spring boot if they only work with old ES version.
>
> On Fri, Apr 22, 2016 at 11:04 AM, Lefteris Tsallas
> <ltsal...@yahoo.com.invalid> wrote:
>> Hi all,
>>
>> I started a new Camel  Spring Boot project using the maven archetype 
>> camel-archetype-spring-boot. Camel Version 2.17.0 gets Spring Boot 1.3.3
>>  After adding the camel-elasticsearch component, it requests  
>> org.elasticsearch:elasticsearch:2.2.0  but Spring boot 1.3.3 forces 
>> elasticsearch1.5.2 to be picked.
>>
>> So If you add a route with  elasticsearch component the application fails to 
>> start and you  you get
>> java.lang.NoSuchMethodError: 
>> org.elasticsearch.node.NodeBuilder.getSettings()Lorg/elasticsearch/common/settings/Settings$Builder;
>>
>>
>>
>>  I can resolve this by adding elasticsearch 2.2.0 as a top level dependency 
>> in my project.  Can you suggest a better approach? Should I open a JIRA for 
>> that?
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2



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

Reply via email to