Table of Contents

Interface IChannelInterceptorAware

Namespace
Steeltoe.Integration.Channel
Assembly
Steeltoe.Integration.Abstractions.dll

A marker interface providing the ability to configure ChannelInterceptors on MessageChannel implementations.

public interface IChannelInterceptorAware

Properties

ChannelInterceptors

Gets or sets the channel interceptors

List<IChannelInterceptor> ChannelInterceptors { get; set; }

Property Value

List<IChannelInterceptor>

Methods

AddInterceptor(IChannelInterceptor)

Add a interceptor to the channel

void AddInterceptor(IChannelInterceptor interceptor)

Parameters

interceptor IChannelInterceptor

the interceptor

AddInterceptor(int, IChannelInterceptor)

Add an interceptor to the channel at the specified index

void AddInterceptor(int index, IChannelInterceptor interceptor)

Parameters

index int

the index to add the interceptor at

interceptor IChannelInterceptor

the interceptor

RemoveInterceptor(IChannelInterceptor)

Remove an intercetptor from the channel

bool RemoveInterceptor(IChannelInterceptor interceptor)

Parameters

interceptor IChannelInterceptor

the interceptor

Returns

bool

succss or failure

RemoveInterceptor(int)

Remove an interceptor at the specified index

IChannelInterceptor RemoveInterceptor(int index)

Parameters

index int

the index

Returns

IChannelInterceptor

removed interceptor