The connection of camel-elasticsearch to Elasticsearch 2.X failed

Solution Verified - Updated -

Issue

  • The connection of camel-elasticsearch to Elasticsearch 2.X failed with the following error:
Fuse.log:
2016-09-30 14:56:48,488 | INFO  | s][generic][T#8] | transport                        | 370 - org.apache.servicemix.bundles.elasticsearch - 1.4.4.1 | [Taurus] failed to get local cluster state for [#transport#-1][ubuntumax][inet[localhost:9300]], disconnecting...

Elasticsearch log:
[2016-09-30 14:59:18,584][WARN ][transport.netty          ] [Max ES 2.4] exception caught on transport layer [[id: 0x34b9854c, /192.168.1.6:40814 => /192.168.1.6:9300]], closing connection
java.lang.IllegalStateException: Received message from unsupported version: [1.0.0] minimal compatible version is: [2.0.0]

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.