This project contains utils for working with MongoDB
Build the project with maven:
Or get the artifacts from maven central
A wrapper around the MongoDB java driver which allows the following:- Friendly, string-based named connection management: - Auto-detection of master/slave or replica-sets - Simple connection pooling, isolated to a single host:port/schema
See the tests for examples
Note! The tests require a mongodb master running on port 27017 and a replica-set on ports 27018-27020. The integration-test will be updated with a mongodb-maven plugin shortly to support this.