<?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:gfe-data="http://www.springframework.org/schema/data/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/data/gemfire http://www.springframework.org/schema/data/gemfire/spring-data-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.client.server.host">localhost</prop>
		<prop key="gemfire.client.server.port">42084</prop>
	</util:properties>

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

	<gfe-data:datasource min-connections="1" max-connections="1">
		<gfe-data:server host="${gemfire.client.server.host}" port="${gemfire.client.server.port}"/>
	</gfe-data:datasource>

	<gfe:client-region id="ClientOnlyRegion" shortcut="LOCAL"/>

	<gfe:client-region id="ClientServerRegion" shortcut="CACHING_PROXY"/>

</beans>
