-
Feb 7th, 2012, 09:36 AM
#1
Accessing multiple MongoDB instances from a single Roo application
Hello All,
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.
Thanks!
-
Feb 7th, 2012, 10:42 AM
#2
Further info:
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?
Thanks!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules