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