问题
Is there any way to provide GemFire regionName dynamically during runtime. Currently we are hardCoding the regionName "testRegion". Sample Code is below. Appreciate any help
@Configuration
@EnableGemFireHttpSession(poolName = "gemfirePool", regionName="testRegion")
public class TestConfig {
//Some Code here
}
回答1:
Yes, great timing! There is now as of Spring Session for Apache Geode/Pivotal GemFire 2.0.5.RELEASE
as well as 2.1.0.M1
. See here and alternatively, here.
I recently made the announcement (and blog) with these changes, here.
来源:https://stackoverflow.com/questions/52144735/setting-enablegemfirehttpsession-regionname-dynamically