<?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 http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
        http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
">

	<util:properties id="client.properties">
		<prop key="gemfire.cache.client.locator.host-and-port">localhost[11235]</prop>
	</util:properties>

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

	<util:properties id="gemfireProperties">
		<prop key="log-level">warning</prop>
	</util:properties>

	<gfe:client-cache properties-ref="gemfireProperties" pool-name="locatorPool"/>

	<gfe:pool id="locatorPool" locators="${gemfire.cache.client.locator.host-and-port}"/>

	<gfe:client-region id="Example" pool-name="locatorPool" shortcut="PROXY"
					   key-constraint="java.lang.String" value-constraint="java.lang.Integer"/>

</beans>
