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-unsubscr...@camel.apache.org

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

Reply via email to