Results 1 to 3 of 3

Thread: ehcache-spring-annotations @Cacheable issue

  1. #1
    Join Date
    Sep 2009
    Posts
    27

    Default 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. #2

    Default

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

  3. #3
    Join Date
    Sep 2009
    Posts
    27

    Default

    Thanks.

    I have now raised on the place you mentioned.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •