GitHub user segalziv opened a pull request: https://github.com/apache/camel/pull/373
Elasticsearch Component, Let BulkRequest return the whole BulkResponse. Hi, sorry if I'm not following the right PR procedure. I would like to contribute and learn the right process. I'm creating this PR to suggest a better return value for elasticsearch bulk-request operation. I found out that I needed to get more information from the bulk-request result. elasticsearch provides the BulkResponse with the full info. returning the full BulkResponse allows the caller to tell the reason of index failures and more. You can merge this pull request into a Git repository by running: $ git pull https://github.com/logshero/camel master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/373.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 #373 ---- commit 73b59555d83c0bbeac2abb95c9442a492256b913 Author: Ziv Segal <z...@logshero.com> Date: 2015-01-21T11:19:29Z Let BulkRequest return the whole BulkResponse ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---