#297 - Adapt to latest API changes in Reactor 3.1 RC1 and Spring Data MongoDB.
This commit is contained in:
@@ -54,7 +54,7 @@ class ApplicationConfiguration extends AbstractReactiveMongoConfiguration {
|
||||
@Override
|
||||
@Bean
|
||||
@DependsOn("embeddedMongoServer")
|
||||
public MongoClient mongoClient() {
|
||||
public MongoClient reactiveMongoClient() {
|
||||
int port = environment.getProperty("local.mongo.port", Integer.class);
|
||||
return MongoClients.create(String.format("mongodb://localhost:%d", port));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user