<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:gfe="http://www.springframework.org/schema/geode"
	   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/geode http://www.springframework.org/schema/geode/spring-geode.xsd
	   	http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
">

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

	<gfe:cache properties-ref="gemfireProperties"/>

	<gfe:replicated-region id="Parent" persistent="false">
		<gfe:replicated-region name="Child" persistent="false">
			<gfe:async-event-queue name="testQueue" maximum-queue-memory="50" parallel="false" dispatcher-threads="4"
								   order-policy="KEY">
				<gfe:async-event-listener>
					<bean class="org.springframework.data.gemfire.config.xml.SubRegionSubElementNamespaceTest.TestNoOpAsyncEventListener"/>
				</gfe:async-event-listener>
			</gfe:async-event-queue>
		</gfe:replicated-region>
	</gfe:replicated-region>

	<gfe:replicated-region id="Customers" persistent="false">
		<gfe:replicated-region name="Accounts" persistent="false">
			<gfe:cache-listener>
				<bean class="org.springframework.data.gemfire.config.xml.SubRegionSubElementNamespaceTest.TestNoOpCacheListener"/>
			</gfe:cache-listener>
		</gfe:replicated-region>
	</gfe:replicated-region>

	<gfe:replicated-region id="Orders" persistent="false">
		<gfe:replicated-region name="Items" persistent="false">
			<gfe:gateway-sender remote-distributed-system-id="21" name="testSender" parallel="false"
								manual-start="true"/>
		</gfe:replicated-region>
	</gfe:replicated-region>

</beans>
