GitHub user ludovic-boutros opened a pull request:
https://github.com/apache/camel/pull/2278
CAMEL-12419: camel-elasticsearch-rest should return complete bulk response
instead of just ids
Currently, when bulk indexing requests are used, only document ids are
returned in the exchange body.
That not enough if you really want a good indexing failure management.
Instead, it should return the complete bulk item response.
This way, we could get the exact error messages.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ludovic-boutros/camel CAMEL-12419
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2278.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 #2278
commit da49d08e4bd0fbfb5b6a1913a837281f2c1b95b6
Author: lbout...@jouve.com
Date: 2018-04-04T13:04:35Z
CAMEL-12419 - camel-elasticsearch-rest, return the complete bulk index item
response to the exchange body
---