You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/10/05 20:08:36 UTC

[GitHub] [camel] essobedo opened a new pull request, #8459: CAMEL-18580: camel-elasticsearch - Propose an async producer

essobedo opened a new pull request, #8459:
URL: https://github.com/apache/camel/pull/8459

   Fix for https://issues.apache.org/jira/browse/CAMEL-18580
   
   ## Motivation
   
   In Camel 3.19, a new component based on the Java Api Client has been proposed. This component provides a blocking producer which could be improved by leveraging the asynchronous client to propose a non-blocking/asynchronous producer instead.
   
   ## Modifications:
   
   * Rewrites the code of the process method to use the `ElasticsearchAsyncClient` instead of `ElasticsearchClient`
   * Removes the volatile keyword from the field `sniffer` as it is always written before and read after the volatile field `client` (piggybacking)
   * Uses a mutex to prevent concurrent initialization of the client
   * Fixes the error message when no operation has been set


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel] github-actions[bot] commented on pull request #8459: CAMEL-18580: camel-elasticsearch - Propose an async producer

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on PR #8459:
URL: https://github.com/apache/camel/pull/8459#issuecomment-1265784023

   :warning: This PR changes Camel components and will be tested automatically.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org