Feb 7th, 2012, 09:36 AM
Accessing multiple MongoDB instances from a single Roo application
I'm working on a project (web-based interface) where I will have a MongoDB instance per customer. I'm using Spring Tool Suite (STS) 2.8.1 and Roo. So, while I have many mongodb instances up and running, I'll use a config file to store config info on mongodb instance for clients and would like to use right one based on the customer.
I'd appreciate any pointers on configuration/example to do the same.
Feb 7th, 2012, 10:42 AM
I'm currently using Spring Roo to configure persistence and interact with mongodb. It created a database.properties and applicationContext-mongo.xml in src/main/resources/META-INF/spring folder. My question is really around how can I configure multiple mongoDB instances? Is it possible with Roo?
If not, what are the options?
Tags for this Thread