How to configured mongo cluster details (it uses two servers) in Spring MVC applicationContext.xml?
<mongo id="mongo" host="${mongo.db.host}" port="${mongo.db.port}"/>
database.properties
mongo.db.host=server1
mongo.db.port=27017
My mongodb is clustered database shared load balancing between two server (server1 and server2)? What configuration I need to use so that my application points to both databases? Please help provide pointers/answers?