RabbitMqCommandQueue Constructor
Definition
- Namespace
- Savvyio.Extensions.DependencyInjection.RabbitMQ.Commands
- Assemblies
- Savvyio.Extensions.DependencyInjection.RabbitMQ.dll
RabbitMqCommandQueue(IMarshaller, RabbitMqCommandQueueOptions<TMarker>)
Initializes a new instance of the RabbitMqCommandQueue<TMarker> class.
public RabbitMqCommandQueue(IMarshaller marshaller, RabbitMqCommandQueueOptions<TMarker> options)
Parameters
marshallerIMarshallerThe marshaller used for serializing and deserializing messages.
optionsRabbitMqCommandQueueOptions<TMarker>The options used to configure the RabbitMQ command queue.
Exceptions
- ArgumentNullException
marshallercannot be null -or-optionscannot be null.- ArgumentException
optionsare not in a valid state.