Table of Contents

RabbitMqEventBus Constructor

Definition

RabbitMqEventBus(IMarshaller, RabbitMqEventBusOptions<TMarker>)

Initializes a new instance of the RabbitMqEventBus class.

public RabbitMqEventBus(IMarshaller marshaller, RabbitMqEventBusOptions<TMarker> options)

Parameters

marshaller IMarshaller

The marshaller used for serializing and deserializing messages.

options RabbitMqEventBusOptions<TMarker>

The options used to configure the RabbitMQ event bus.

Exceptions

ArgumentNullException

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

ArgumentException

options are not in a valid state.