open class ImmutableMessageChannelInterceptor : ChannelInterceptorAdapter
A simpler interceptor that calls MessageHeaderAccessor#setImmutable() on the headers of messages passed through the preSend method.
When configured as the last interceptor in a chain, it allows the component sending the message to leave headers mutable for interceptors to modify prior to the message actually being sent and exposed to concurrent access.
Author
Rossen Stoyanchev
Since
4.1.2
ImmutableMessageChannelInterceptor()
A simpler interceptor that calls When configured as the last interceptor in a chain, it allows the component sending the message to leave headers mutable for interceptors to modify prior to the message actually being sent and exposed to concurrent access. |
open fun preSend(message: Message<*>, channel: MessageChannel): Message<*> |
open fun afterReceiveCompletion(message: Message<*>, channel: MessageChannel, ex: Exception): Unit |
|
open fun afterSendCompletion(message: Message<*>, channel: MessageChannel, sent: Boolean, ex: Exception): Unit |
|
open fun postReceive(message: Message<*>, channel: MessageChannel): Message<*> |
|
open fun postSend(message: Message<*>, channel: MessageChannel, sent: Boolean): Unit |
|
open fun preReceive(channel: MessageChannel): Boolean |