Class ReactiveMongoClientFactory

    • Method Detail

      • createMongoClient

        public com.mongodb.reactivestreams.client.MongoClient createMongoClient​(com.mongodb.MongoClientSettings settings)
        Creates a MongoClient using the given settings. If the environment contains a local.mongo.port property, it is used to configure a client to an embedded MongoDB instance.
        Parameters:
        settings - the settings
        Returns:
        the Mongo client