Announcement Announcement Module
Collapse
No announcement yet.
Accessing multiple MongoDB instances from a single Roo application Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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!

  • #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!

    Comment

    Working...
    X