Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 210400

Re: Gemfire notify-by-subcription=false not picked up

$
0
0

Here is an example client context that will register interest in ALL_KEYS and have updates pushed from the server to the client as invalidates.

 

<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans"  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  xmlns:util="http://www.springframework.org/schema/util"  xmlns:gfe="http://www.springframework.org/schema/gemfire"  xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd  http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd  http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">    <util:properties id="gemfire-props">    <prop key="log-level">warning</prop>  </util:properties>  <gfe:client-cache properties-ref="gemfire-props" pool-name="pool"/>  <gfe:pool id="pool" subscription-enabled="true">    <gfe:server host="localhost" port="40404"/>  </gfe:pool>  <gfe:client-region id="Price" shortcut="CACHING_PROXY_HEAP_LRU">    <gfe:cache-listener>      <bean class="TestListener"/>    </gfe:cache-listener>    <gfe:key-interest durable="false" result-policy="NONE" receive-values="false">     <bean class="java.lang.String">      <constructor-arg value="ALL_KEYS"/>     </bean>    </gfe:key-interest>  </gfe:client-region></beans>

Viewing all articles
Browse latest Browse all 210400

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>