on ‎2018 Sep 05 2:05 PM
Hey everybody,
I have created a new cache Region:
<bean name="sampleCacheRegion" class="de.hybris.platform.regioncache.region.impl.EHCacheRegion">
<constructor-arg name="name" value="sampleCacheRegion" />
<constructor-arg name="maxEntries" value="50000" />
<property name="handledTypes">
<array>
<value>ALL_TYPES</value>
</array>
</property>
</bean>
Now I want to see the region in the hac under Montoring -> Cache. To reach this I register the custom region with this:
<bean id="sampleCacheRegionRegistrar" class="de.hybris.platform.regioncache.region.CacheRegionRegistrar" c:region-ref="sampleCacheRegion" />
But it doesn't work. Did I forget something?
Request clarification before answering.
Make sure add your cache spring configuration to global context, see below example
Example: Add below in custom extension project.properties
training.application-context=training-spring.xml
training.global-context=training-cache-spring.xml
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi . Did u find any solution? I have same problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.