Table of Contents

Class AmazonCommandQueue<TMarker>

Namespace
Savvyio.Extensions.DependencyInjection.SimpleQueueService.Commands
Assembly
Savvyio.Extensions.DependencyInjection.SimpleQueueService.dll

Provides a default implementation of the AmazonQueue<TRequest> class tailored for messages holding an ICommand implementation.

public class AmazonCommandQueue<TMarker> : AmazonCommandQueue, IConfigurable<AmazonMessageOptions>, IHealthCheckProvider<IAmazonSQS>, IPointToPointChannel<ICommand, TMarker>, IPointToPointChannel<ICommand>, ISender<ICommand, TMarker>, ISender<ICommand>, IReceiver<ICommand, TMarker>, IReceiver<ICommand>, IDependencyInjectionMarker<TMarker>

Type Parameters

TMarker
Inheritance
AmazonCommandQueue<TMarker>
Implements
ISender<ICommand, TMarker>
Inherited Members

Constructors

AmazonCommandQueue(IMarshaller, AmazonCommandQueueOptions<TMarker>)

Initializes a new instance of the AmazonCommandQueue<TMarker> class.

public AmazonCommandQueue(IMarshaller marshaller, AmazonCommandQueueOptions<TMarker> options)

Parameters

marshaller IMarshaller

The IMarshaller that is used when converting ICommand implementations to messages.

options AmazonCommandQueueOptions<TMarker>

The AmazonCommandQueueOptions<TMarker> used to configure this instance.

Exceptions

ArgumentNullException

marshaller cannot be null - or - options cannot be null.

ArgumentException

options are not in a valid state.

See Also