<?xml version="1.0"?>

<!-- DurableClient.xml
     Configures a region as a client region in a Durable cache. The 
     region's pool connects to a server listening on port 40404.
-->

<!DOCTYPE cache PUBLIC
  "-//GemStone Systems, Inc.//GemFire Declarative Caching 5.7//EN"
  "http://www.gemstone.com/dtd/cache5_7.dtd">
<cache>
  <pool name="client" subscription-enabled="true">
    <server host="localhost" port="40404"/>
  </pool>

  <region-attributes id="clientAttributes" pool-name="client" scope="local"/>

  <region name="exampleRegion">
      <region-attributes refid="clientAttributes">
        <cache-listener>
          <class-name>quickstart.SimpleCacheListener</class-name>
        </cache-listener>
      </region-attributes>
  </region>
  
</cache>
