<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:gfe="http://www.springframework.org/schema/geode"
	   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/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">InvalidRegionExpirationAttributesNamespaceTest</prop>
		<prop key="mcast-port">0</prop>
		<prop key="log-level">config</prop>
	</util:properties>

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

	<gfe:replicated-region id="ReplicateExample" persistent="false">
		<gfe:custom-entry-tti>
			<bean class="org.springframework.data.gemfire.config.xml.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
				  p:name="One" p:timeout="60" p:action="#{T(org.apache.geode.cache.ExpirationAction).DESTROY}"/>
			<bean class="org.springframework.data.gemfire.config.xml.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
				  p:name="Two" p:timeout="120" p:action="#{T(org.apache.geode.cache.ExpirationAction).INVALIDATE}"/>
		</gfe:custom-entry-tti>
	</gfe:replicated-region>

</beans>
