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