@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={org.springframework.data.elasticsearch.client.reactive.ReactiveRestClients.class,org.springframework.web.reactive.function.client.WebClient.class,reactor.netty.http.client.HttpClient.class}) @EnableConfigurationProperties(value=ReactiveRestClientProperties.class) public class ReactiveRestClientAutoConfiguration extends Object
Auto-configuration
for Elasticsearch Reactive REST
clients.Constructor and Description |
---|
ReactiveRestClientAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.elasticsearch.client.ClientConfiguration |
clientConfiguration(ReactiveRestClientProperties properties) |
org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient |
reactiveElasticsearchClient(org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration) |
@Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration(ReactiveRestClientProperties properties)
@Bean @ConditionalOnMissingBean public org.springframework.data.elasticsearch.client.reactive.ReactiveElasticsearchClient reactiveElasticsearchClient(org.springframework.data.elasticsearch.client.ClientConfiguration clientConfiguration)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.