T- The type of Message the interceptor works with
public interface MessageHandlerInterceptorSupport<T extends Message<?>>
Handler Interceptors are always invoked in the thread that handles the message. If a Unit of Work is active, it is that of the intercepted message.
Registration registerHandlerInterceptor(@Nonnull MessageHandlerInterceptor<? super T> handlerInterceptor)
handlerInterceptor. After registration, the interceptor will be invoked for each handled Message on the messaging component that it was registered to, prior to invoking the message's handler.
handlerInterceptor- The interceptor to register
Copyright © 2010–2023. All rights reserved.