<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:context="http://www.springframework.org/schema/context"
	   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/context https://www.springframework.org/schema/context/spring-context.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
">

	<util:properties id="server.properties">
		<prop key="gemfire.cache.server.host">localhost</prop>
		<prop key="gemfire.cache.server.port">23579</prop>
	</util:properties>

	<context:property-placeholder properties-ref="server.properties"/>

	<util:properties id="gemfireProperties">
		<prop key="name">ClientCacheVariableLocatorsTestServer</prop>
		<prop key="log-level">error</prop>
		<prop key="locators">localhost[11235]</prop>
		<prop key="start-locator">localhost[11235]</prop>
	</util:properties>

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

	<gfe:cache-server bind-address="${gemfire.cache.server.host}" port="${gemfire.cache.server.port}"
					  auto-startup="true" max-connections="1"/>

	<gfe:replicated-region id="Example" persistent="false" key-constraint="java.lang.String" value-constraint="java.lang.Integer">
		<gfe:cache-loader>
			<bean class="org.springframework.data.gemfire.client.ClientCacheVariableLocatorsTest.CacheMissCounterCacheLoader"/>
		</gfe:cache-loader>
	</gfe:replicated-region>

</beans>
