<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
			 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
			 xmlns:mongo="http://www.springframework.org/schema/data/mongo"
			 xmlns:context="http://www.springframework.org/schema/context"
			 xsi:schemaLocation="http://www.springframework.org/schema/data/mongo http://www.springframework.org/schema/data/mongo/spring-mongo.xsd
			 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
			 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd">

	
    <context:property-placeholder location="classpath:replicaSet.properties"/>

    <mongo:mongo-client id="manyReplicaSetMongo" replica-set="${mongo.hosts}"/>
    
	<mongo:mongo-client id="replicaSetMongo" replica-set="127.0.0.1:10001,localhost:10002"/>

<!-- 
	<mongo:db-factory dbname="database">
		<mongo:mongo replica-set="127.0.0.1:27017,localhost:27018"/>			
	</mongo:db-factory>
-->
</beans>
