T- The type of Message the interceptor works with
public 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.
Registration registerDispatchInterceptor(MessageDispatchInterceptor<? super T> dispatchInterceptor)
dispatchInterceptor- The interceptor to register
Copyright © 2010–2020. All rights reserved.