I have been using this google ehcache annotations for the first time. As a first usage it did worked quickly but I ran into a weird issue which is puzzling me...
Anyone, can you please throw some light on this.
here is the method where I expect to cache and the caching happens perfect.
@Override
@Secured(value = { "LOGIN.USER" })
@Cacheable(cacheName="tenMinCache")
public Article getArticle(final String articleId) {
Article article = new Article();
......
......
here is another method on another class where cache is NOT happening, I absolutely have no idea. Please any one help me on this.
@Secured(value = { "LOGIN.USER" })
@Cacheable(cacheName = "fifteenMinCache")
public BufferedImage getImage(final String imageUrl, final String defaultImageUrl)
throws ResourceLoaderException {
try {
return getImage(imageUrl);
...............
..............
Thanks