I have a class which consists of multiple cache clients. Something like this:
private Map<String, CacheClient> cacheClients;
The cache clients may be configured in such a way that the above map will hold multiple cache client configurations.
How will my XML bean for the above attribute look like?
Basically, I want to achive something like this:
<bean class="com.gemstone.gemfire.cache.client.ClientCac he" id="MyGemfire1Ref">
<gfe:client-cache id="MyGemfire1" pool-name="MyGemfire1Pool" />
<gfeool id="MyGemfire1Pool" subscription-enabled="true">
<gfe:locator host="gfr-wm-cache-1.vmware.com" port="8181"/>
<gfe:client-region id="Region1" shortcut="PROXY"/>
<gfe:client-region id="Region2" shortcut="PROXY"/>
The above bean definition is not working as its giving the following error:
Configuration problem: Cannot locate BeanDefinitionDecorator for element [client-cache]
Can you please help me out?