GitHub user dmvolod opened a pull request:
https://github.com/apache/camel/pull/1435
CAMEL-10766: Create a new camel-elasticsearch5 component for supporting
ElasticSearch 5.x Java API
For backward compatibility we've migrated current camel-elasticsearch to
the new camel-elasticsearch5.
As ${lucene-version} was defined globally, it affected on both
ElasticSearch API versions - 2.4.3 and 5.1.2 and one of the components doesn't
work correctly. I removed global Apache Lucene library definition and place it
to the dependent components. Please correct dependencies if needed. Also
uploaded new component and all changes as patch.
The following camel-elasticsearch functions were removed as ElasticSearch
API deprecated (removed) features:
- consistencyLevel parameter (replaced with waitForActiveShards)
- local JVM ES cluster running (not supported anymore)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dmvolod/camel CAMEL-10766
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1435.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1435
----
commit c95db786d08bed09ecf783b8c565be05d4fdd79e
Author: Dmitry Volodin <[email protected]>
Date: 2017-01-31T11:47:33Z
CAMEL-10766: Create a new camel-elasticsearch5 component for supporting
ElasticSearch 5.x Java API
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---