Table of Contents

Class ImmutableMessageChannelInterceptor

Namespace
Steeltoe.Messaging.Support
Assembly
Steeltoe.Messaging.MessagingBase.dll
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 IMessage

the message being processed

channel IMessageChannel

the channel the message for

Returns

IMessage

the resulting message to send; can be null