Announcement Announcement Module
Collapse
No announcement yet.
ehcache-spring-annotations @Cacheable issue Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ehcache-spring-annotations @Cacheable issue

    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

  • #2
    Please use the ehcache-spring-annotations email list for questions: http://groups.google.com/group/ehcac...ng-annotations

    Comment


    • #3
      Thanks.

      I have now raised on the place you mentioned.

      Comment

      Working...
      X