It's not working at the moment because SocketFacotry is not one of the type supported by SimplePropertyReaderContext.
I think a possible solution is to create a MongoDBPropertyReaderContext and a ConfigurationPropertyReader
See: * org.hibernate.ogm.util.configurationreader.spi.ConfigurationPropertyReader#property * org.hibernate.ogm.datastore.mongodb.impl.MongoDBDatastoreProvider#configure |
|