<?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="clientProperties">
		<prop key="gemfire.cache.client.server.hosts-and-ports">localhost[23579],localhost[23654]</prop>
		<prop key="gemfire.cache.client.server.host.3">localhost</prop>
		<prop key="gemfire.cache.client.server.port.3">24448</prop>
	</util:properties>

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

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

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

	<gfe:pool id="serverPool" servers="${gemfire.cache.client.server.hosts-and-ports}">
		<gfe:server host="${gemfire.cache.client.server.host.3}" port="${gemfire.cache.client.server.port.3}"/>
	</gfe:pool>

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

</beans>
