Fixed JIRA issues SGF-219, SGF-220 and SGF-221 involving registering CacheListeners and adding Async Event Queues and Gateway Senders to GemFire Sub-Regions.

This commit is contained in:
John Blum
2013-11-08 16:53:35 -08:00
parent 1c24a402ce
commit ffadfc6cb2
4 changed files with 245 additions and 37 deletions

View File

@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:gfe="http://www.springframework.org/schema/gemfire"
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-3.2.xsd
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire-1.3.xsd
">
<gfe:cache/>
<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="true" dispatcher-threads="4"
order-policy="KEY">
<gfe:async-event-listener>
<bean class="org.springframework.data.gemfire.config.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.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="true"
manual-start="true"/>
</gfe:replicated-region>
</gfe:replicated-region>
</beans>