<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:p="http://www.springframework.org/schema/p"
	   xmlns:util="http://www.springframework.org/schema/util"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xsi:schemaLocation="
	   	http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
	   	http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
" default-lazy-init="true">

	<util:properties id="gemfireProperties">
		<prop key="name">BasicSubRegionConfig</prop>
		<prop key="mcast-port">0</prop>
		<prop key="log-level">config</prop>
	</util:properties>

	<bean id="cache" class="org.springframework.data.gemfire.CacheFactoryBean">
		<property name="properties" ref="gemfireProperties"/>
	</bean>

	<bean id="transactionManager" class="org.springframework.data.gemfire.transaction.GemfireTransactionManager" p:cache-ref="cache"/>

	<bean id="rollback-region" class="org.springframework.data.gemfire.LocalRegionFactoryBean" p:name="r-region" p:cache-ref="cache" p:close="false"/>
	<bean id="commit-region" class="org.springframework.data.gemfire.LocalRegionFactoryBean" p:name="c-region" p:cache-ref="cache" p:close="false"/>

</beans>
