Class ImmutableMessageChannelInterceptor
public class ImmutableMessageChannelInterceptor : AbstractChannelInterceptor, IChannelInterceptor, IOrdered
- Inheritance
-
ImmutableMessageChannelInterceptor
- Implements
- Inherited Members
Constructors
ImmutableMessageChannelInterceptor()
public ImmutableMessageChannelInterceptor()
ImmutableMessageChannelInterceptor(int)
public ImmutableMessageChannelInterceptor(int order)
Parameters
order
int
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
message
IMessagethe message being processed
channel
IMessageChannelthe channel the message for
Returns
- IMessage
the resulting message to send; can be null