Table of Contents

Class RabbitMqCommandQueue<TMarker>

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

Provides a default implementation of the RabbitMqMessage class for messages holding an ICommand implementation.

public class RabbitMqCommandQueue<TMarker> : RabbitMqCommandQueue, IDisposable, IAsyncDisposable, IAsyncHealthCheckProvider<IConnection>, IPointToPointChannel<ICommand, TMarker>, IPointToPointChannel<ICommand>, ISender<ICommand, TMarker>, ISender<ICommand>, IReceiver<ICommand, TMarker>, IReceiver<ICommand>, IDependencyInjectionMarker<TMarker>

Type Parameters

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

Constructors

RabbitMqCommandQueue(IMarshaller, RabbitMqCommandQueueOptions<TMarker>)

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

public RabbitMqCommandQueue(IMarshaller marshaller, RabbitMqCommandQueueOptions<TMarker> options)

Parameters

marshaller IMarshaller

The marshaller used for serializing and deserializing messages.

options RabbitMqCommandQueueOptions<TMarker>

The options used to configure the RabbitMQ command queue.

Exceptions

ArgumentNullException

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

ArgumentException

options are not in a valid state.

See Also