Sorry, I think I didn't understand well the question. I was talking about having different databases for different purpouses, not for replicas of the data. In my example you can inject any template...
Type: Posts; User: rigarcia; Keyword(s):
Sorry, I think I didn't understand well the question. I was talking about having different databases for different purpouses, not for replicas of the data. In my example you can inject any template...
This configuration example works:
<context:property-placeholder location="classpath:mongo.properties"/>
<mongo:mongo id="mongo" host="${mongo.host}" port="${mongo.port}">
...