Is there any way I can use more than one redis template or change the value type to another object dynamically in the template for the CacheManager to use? I have multiple java objects that I want to cache using the @Cacheable annotation but It seems I can only declare one template with a specific object for the Cache Manager to use. Is there a easy way to do this or do I need to create some utility class that would convert these java objects to String and use the string redis template?
Announcement Announcement Module
No announcement yet.