T
- The type of Message the interceptor works withpublic 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.
MessageDispatchInterceptor
Modifier and Type | Method and Description |
---|---|
Registration |
registerHandlerInterceptor(MessageHandlerInterceptor<? super T> handlerInterceptor)
Register the given
handlerInterceptor . |
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 registerCopyright © 2010–2024. All rights reserved.