Mongodb – ConfigurationProperties read on startup, but show null when Bean accessed
Storing all my Mongo properties in an external application.properties files and reading them with the provided classes. I'm using them in a bean to build DatabaseFactory objects, but they read null when the bean is accessed - even after reading…