Table of Contents

Interface IQueueChannelOperations

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

Operations available on a channel that has queuing semantics

public interface IQueueChannelOperations

Properties

QueueSize

Gets the size of the queue

int QueueSize { get; }

Property Value

int

RemainingCapacity

Gets the remaining capacity of the queue

int RemainingCapacity { get; }

Property Value

int

Methods

Clear()

Clear all items off the quewue

IList<IMessage> Clear()

Returns

IList<IMessage>

list of removed messages

Purge(IMessageSelector)

Remove any Messages that are not accepted by the provided selector.

IList<IMessage> Purge(IMessageSelector messageSelector)

Parameters

messageSelector IMessageSelector

the selector to apply

Returns

IList<IMessage>

list of purged messages