@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value={com.mongodb.reactivestreams.client.MongoClient.class,reactor.core.publisher.Flux.class}) @EnableConfigurationProperties(value=MongoProperties.class) public class MongoReactiveAutoConfiguration extends Object
Auto-configuration
for Reactive Mongo.Constructor and Description |
---|
MongoReactiveAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
com.mongodb.reactivestreams.client.MongoClient |
reactiveStreamsMongoClient(ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers,
com.mongodb.MongoClientSettings settings) |
@Bean @ConditionalOnMissingBean public com.mongodb.reactivestreams.client.MongoClient reactiveStreamsMongoClient(ObjectProvider<MongoClientSettingsBuilderCustomizer> builderCustomizers, com.mongodb.MongoClientSettings settings)