T
- The type of Message the interceptor works withpublic interface MessageDispatchInterceptorSupport<T extends Message<?>>
Dispatch Interceptors are always invoked in the thread that dispatches the message to the messaging component. If a Unit of Work is active, it is not that of the dispatched message, but of the message that triggered this message to be published.
MessageHandlerInterceptor
Modifier and Type | Method and Description |
---|---|
Registration |
registerDispatchInterceptor(MessageDispatchInterceptor<? super T> dispatchInterceptor)
Register the given DispatchInterceptor.
|
Registration registerDispatchInterceptor(MessageDispatchInterceptor<? super T> dispatchInterceptor)
dispatchInterceptor
- The interceptor to registerCopyright © 2010–2022. All rights reserved.