This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch CAMEL-17780/new-elasticsearch-comp-p2
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2b5a931407af22ac5fa886edf869e92e94447a88
Author: Nicolas Filotto <nfilo...@talend.com>
AuthorDate: Wed Sep 21 11:40:50 2022 +0200

    CAMEL-17780: camel-elasticsearch - Add doc related to the corresponding 
spring-boot component
---
 .../src/main/docs/elasticsearch-component.adoc            | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git 
a/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc 
b/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc
index acaf630c5df..64fbcdb42da 100644
--- a/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc
+++ b/components/camel-elasticsearch/src/main/docs/elasticsearch-component.adoc
@@ -6,6 +6,8 @@
 :since: 3.19
 :supportlevel: Preview
 :component-header: Only producer is supported
+//Manually maintained attributes
+:camel-spring-boot-name: elasticsearch
 
 *Since Camel {since}*
 
@@ -275,3 +277,16 @@ List<MultiSearchResponseItem<?>> response = 
template.requestBody("direct:multiSe
 For all the search operations, it is possible to indicate the type of document 
to retrieve in order to get the result already unmarshalled with the expected 
type.
 
 The document type can be set using the header "documentClass" or via the uri 
parameter of the same name.
+
+== Disable Sniffer when using Spring Boot
+
+When Spring Boot is on the classpath the Sniffer client for Elasticsearch is 
enabled by default. This option can be disabled in the Spring Boot 
Configuration:
+
+[source,yaml]
+----
+spring:
+  autoconfigure:
+    exclude: 
org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchRestClientAutoConfiguration
+----
+
+include::spring-boot:partial$starter.adoc[]

Reply via email to