Class CacheRequestHandlerAdvice

All Implemented Interfaces:
Advice, Interceptor, MethodInterceptor, Aware, BeanFactoryAware, BeanNameAware, InitializingBean, SmartInitializingSingleton, ApplicationContextAware, ComponentSourceAware, ExpressionCapable, NamedComponent

public class CacheRequestHandlerAdvice extends AbstractRequestHandlerAdvice implements SmartInitializingSingleton
The AbstractRequestHandlerAdvice implementation for caching AbstractReplyProducingMessageHandler.RequestHandler#handleRequestMessage(Message) results. Supports all the cache operations - cacheable, put, evict. By default, only cacheable is applied for the provided cacheNames. The default cache key is payload of the request message.
Since:
5.2
Author:
Artem Bilan, Ngoc Nhan
See Also: