This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
As per my current knowledge of Spring, Spring-data and Spring-data-mongodb I've ended up whith this solution: | |
---------- | |
**config/MultipleMongoProperties.java** | |
``` | |
package com.mycompany.myapp.config; | |
import lombok.Data; | |
import org.springframework.boot.autoconfigure.mongo.MongoProperties; |