Table of Contents

AmazonQueue<TRequest> Class

Definition

Namespace
Savvyio.Extensions.SimpleQueueService
Assemblies
Savvyio.Extensions.SimpleQueueService.dll
Source
src/Savvyio.Extensions.SimpleQueueService/AmazonQueue.cs

Represents the base class from which all implementations in need of queue capabilities should derive.

public abstract class AmazonQueue<TRequest> : AmazonMessage<TRequest>, IConfigurable<AmazonMessageOptions>, IPointToPointChannel<TRequest>, ISender<TRequest>, IReceiver<TRequest> where TRequest : IRequest

Type Parameters

TRequest

The type of the model to handle.

Inheritance
object
AmazonMessage<TRequest>
AmazonQueue<TRequest>
Implements
ISender<TRequest>
IReceiver<TRequest>
Derived
Inherited Members

Constructors

Name Description
AmazonQueue(IMarshaller, AmazonMessageOptions)

Initializes a new instance of the AmazonQueue<TRequest> class.

Methods

Name Description
ReceiveAsync(Action<AsyncOptions>)

Receive one or more message(s) asynchronous using Point-to-Point Channel/P2P MEP.

SendAsync(IEnumerable<IMessage<TRequest>>, Action<AsyncOptions>)

Sends the specified messages asynchronous using Point-to-Point Channel/P2P MEP.

See Also

AmazonMessage<TRequest>
IPointToPointChannel<TRequest>