Class MongoReactiveAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.mongo.MongoReactiveAutoConfiguration
@AutoConfiguration
@ConditionalOnClass({com.mongodb.reactivestreams.client.MongoClient.class,reactor.core.publisher.Flux.class})
@EnableConfigurationProperties(MongoProperties.class)
public class MongoReactiveAutoConfiguration
extends Object
Auto-configuration
for Reactive Mongo.- Since:
- 2.0.0
- Author:
- Mark Paluch, Stephane Nicoll, Scott Frederick
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mongodb.reactivestreams.client.MongoClient
reactiveStreamsMongoClient
(ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers, com.mongodb.MongoClientSettings settings)
-
Constructor Details
-
MongoReactiveAutoConfiguration
public MongoReactiveAutoConfiguration()
-
-
Method Details
-
reactiveStreamsMongoClient
@Bean @ConditionalOnMissingBean public com.mongodb.reactivestreams.client.MongoClient reactiveStreamsMongoClient(ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers, com.mongodb.MongoClientSettings settings)
-