Fixup documentation and samples.
This commit is contained in:
@@ -13,36 +13,27 @@
|
||||
">
|
||||
|
||||
<!-- tag::beans[] -->
|
||||
<!--1-->
|
||||
<context:annotation-config/>
|
||||
|
||||
<!--2-->
|
||||
<context:property-placeholder location="classpath:META-INF/spring/application.properties"/>
|
||||
|
||||
<!--3-->
|
||||
<bean class="sample.GemFireClientServerReadyBeanPostProcessor"/>
|
||||
<bean class="sample.ClientServerReadyBeanPostProcessor"/>
|
||||
|
||||
<!--4-->
|
||||
<!--1-->
|
||||
<util:properties id="gemfireProperties">
|
||||
<!--<prop key="log-file">gemfire-client.log</prop>-->
|
||||
<prop key="log-level">${spring.session.data.gemfire.log-level:warning}</prop>
|
||||
<prop key="log-level">${spring.session.data.geode.log-level:warning}</prop>
|
||||
</util:properties>
|
||||
|
||||
<!--5-->
|
||||
<!--2-->
|
||||
<gfe:client-cache properties-ref="gemfireProperties" pool-name="gemfirePool"/>
|
||||
|
||||
<!--6-->
|
||||
<gfe:pool keep-alive="false"
|
||||
ping-interval="5000"
|
||||
read-timeout="15000"
|
||||
retry-attempts="1"
|
||||
subscription-enabled="true"
|
||||
thread-local-connections="false">
|
||||
<gfe:server host="${application.gemfire.client-server.host}"
|
||||
port="${spring.session.data.gemfire.port:${application.gemfire.client-server.port}}"/>
|
||||
<!--3-->
|
||||
<gfe:pool ping-interval="5000" read-timeout="15000" retry-attempts="1" subscription-enabled="true">
|
||||
<gfe:server host="${application.geode.client-server.host}"
|
||||
port="${spring.session.data.geode.cache.server.port:${application.geode.client-server.port:40404}}"/>
|
||||
</gfe:pool>
|
||||
|
||||
<!--7-->
|
||||
<!--4-->
|
||||
<bean class="org.springframework.session.data.gemfire.config.annotation.web.http.GemFireHttpSessionConfiguration"
|
||||
p:maxInactiveIntervalInSeconds="30" p:poolName="DEFAULT"/>
|
||||
<!-- end::beans[] -->
|
||||
|
||||
Reference in New Issue
Block a user