Interface IQueueChannelOperations
Operations available on a channel that has queuing semantics
Namespace: Steeltoe.Integration.Channel
Assembly: Steeltoe.Integration.Abstractions.dll
Syntax
public interface IQueueChannelOperations
Properties
| Edit this page View SourceQueueSize
Gets the size of the queue
Declaration
int QueueSize { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
RemainingCapacity
Gets the remaining capacity of the queue
Declaration
int RemainingCapacity { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Edit this page View SourceClear()
Clear all items off the quewue
Declaration
IList<IMessage> Clear()
Returns
Type | Description |
---|---|
IList<IMessage> | list of removed messages |
Purge(IMessageSelector)
Remove any Messages that are not accepted by the provided selector.
Declaration
IList<IMessage> Purge(IMessageSelector messageSelector)
Parameters
Type | Name | Description |
---|---|---|
IMessageSelector | messageSelector | the selector to apply |
Returns
Type | Description |
---|---|
IList<IMessage> | list of purged messages |