AmazonEventBus Constructor
Definition
- Namespace
- Savvyio.Extensions.SimpleQueueService.EventDriven
- Assemblies
- Savvyio.Extensions.SimpleQueueService.dll
AmazonEventBus(IMarshaller, AmazonEventBusOptions)
Initializes a new instance of the AmazonEventBus class.
public AmazonEventBus(IMarshaller marshaller, AmazonEventBusOptions options)
Parameters
marshallerIMarshallerThe IMarshaller that is used when converting IIntegrationEvent implementations to messages.
optionsAmazonEventBusOptionsThe AmazonEventBusOptions used to configure this instance.
Exceptions
- ArgumentNullException
marshallercannot be null - or -optionscannot be null.- ArgumentException
optionsare not in a valid state.