camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lefteris Tsallas <ltsal...@yahoo.com.INVALID>
Subject Re: Camel 2.17 - Spring Boot 1.3.3 + Camel-Elasticsearch component conflict(2.2.0->1.5.2)
Date Fri, 22 Apr 2016 11:11:25 GMT
I see.
According to their current documentation "The client must have the same major version (e.g.
2.x, or 5.x) as thenodes in the cluster" . 

This does not look like a major limitation.


 

    On Friday, April 22, 2016 1:57 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
 

 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.ibsen@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
> <ltsallas@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


  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message