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

	<util:properties id="gemfireProperties">
		<prop key="name">TransactionListenersAndWritersTest</prop>
		<prop key="log-level">error</prop>
	</util:properties>

	<gfe:cache properties-ref="gemfireProperties">
		<gfe:transaction-listener ref="txListener1"/>
		<gfe:transaction-listener ref="txListener2"/>
		<gfe:transaction-writer ref="txWriter"/>
	</gfe:cache>

	<gfe:client-cache id="client-cache">
		<gfe:transaction-listener ref="txListener1"/>
		<gfe:transaction-listener ref="txListener2"/>
		<gfe:transaction-writer ref="txWriter"/>
	</gfe:client-cache>

	<bean id="txListener1" class="org.springframework.data.gemfire.config.xml.TxEventHandlersTest.TestListener"/>
	<bean id="txListener2" class="org.springframework.data.gemfire.config.xml.TxEventHandlersTest.TestListener"/>
	<bean id="txWriter" class="org.springframework.data.gemfire.config.xml.TxEventHandlersTest.TestWriter"/>

</beans>
