I commented below line:
#spring.cache.cache-names=users,cannedReports
I am creating cache explicitly in CacheConfiguration class:
if (cm.getCache("users") == null)
cm.createCache("users", cacheConfiguration);
if (cm.getCache("cannedReports") == null)
cm.createCache("cannedReports",
createCustomCacheConfiguration());
This ensures that cache is created according to JCache API.
Now can enable Java method cache using @CacheResult @CacheKey annotations.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/