This commit is contained in:
John Blum
2018-08-20 22:26:51 -07:00
parent 125877df89
commit 017eebafcd
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ import org.springframework.session.data.gemfire.config.annotation.web.http.Enabl
// tag::class[]
@ClientCacheApplication(name = "SpringSessionDataGeodeJavaConfigSampleClient", logLevel = "error",
readTimeout = 15000, retryAttempts = 1, subscriptionEnabled = true) // <1>
@EnableGemFireHttpSession(maxInactiveIntervalInSeconds = 30, poolName = "DEFAULT") // <2>
@EnableGemFireHttpSession(poolName = "DEFAULT") // <2>
public class ClientConfig extends ClientServerIntegrationTestsSupport {
@Bean

View File

@@ -35,7 +35,7 @@
<!--4-->
<bean class="org.springframework.session.data.gemfire.config.annotation.web.http.GemFireHttpSessionConfiguration"
p:maxInactiveIntervalInSeconds="30" p:poolName="DEFAULT"/>
p:poolName="DEFAULT"/>
<!-- end::beans[] -->
</beans>