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