hi,
I need to use gateways in my configuration so instead of using gfe:replicated-region I use bean notation and org.springframework.data.gemfire.RegionFactoryBean . In this way I can set enable-gateway region attribute which is not avaliable in gfe:replicated-region. Unfortuantely I'm unable to use gfe:disc-store option or persistant property then. Can you advise please?
My current region configuration looks like that:
Regards,Code:<bean id="my_region" class="org.springframework.data.gemfire.RegionFactoryBean" p:cache-ref="gemfire-cache" p:name="my_region"> <property name="attributes"> <bean class="org.springframework.data.gemfire.RegionAttributesFactoryBean" p:initial-capacity="1024" p:enable-gateway="true" p:scope="DISTRIBUTED_ACK"/> </property> <property name="cacheListeners"> <bean class="MyCacheOperationLogger"/> </property> <property name="dataPolicy" value="REPLICATE"/> </bean>
Dariusz


Reply With Quote