Spring Data - Document documentation gives and example of configuring a factory bean for creating MongoDB connections using mongo:db-factory
element.
<mongo:db-factory id="anotherMongoDbFactory"
host="localhost"
port="27017"
dbname="database"
username="joe"
password="secret"/>
The problem is that the XSD for the mongo namespace does not declare a db-factory element. Is this a bug or am I looking at incorrect version of documentation?