Class ImmutableMessageChannelInterceptor
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class ImmutableMessageChannelInterceptor : AbstractChannelInterceptor, IChannelInterceptor, IOrdered
- Inheritance
-
ImmutableMessageChannelInterceptor
- Implements
- Inherited Members
Constructors
ImmutableMessageChannelInterceptor()
public ImmutableMessageChannelInterceptor()
ImmutableMessageChannelInterceptor(int)
public ImmutableMessageChannelInterceptor(int order)
Parameters
orderint
Methods
PreSend(IMessage, IMessageChannel)
Invoked before the Message is actually sent to the channel. This allows for modification of the Message if necessary.
public override IMessage PreSend(IMessage message, IMessageChannel channel)
Parameters
messageIMessagethe message being processed
channelIMessageChannelthe channel the message for
Returns
- IMessage
the resulting message to send; can be null