Class AmazonEventBus<TMarker>
- Assembly
- Savvyio.Extensions.DependencyInjection.SimpleQueueService.dll
Provides a default implementation of the AmazonBus<TRequest> class tailored for messages holding an IIntegrationEvent implementation.
public class AmazonEventBus<TMarker> : AmazonEventBus, IConfigurable<AmazonMessageOptions>, IHealthCheckProvider<IAmazonSimpleNotificationService>, IPublishSubscribeChannel<IIntegrationEvent, TMarker>, IPublishSubscribeChannel<IIntegrationEvent>, IPublisher<IIntegrationEvent, TMarker>, IPublisher<IIntegrationEvent>, ISubscriber<IIntegrationEvent, TMarker>, ISubscriber<IIntegrationEvent>, IDependencyInjectionMarker<TMarker>
Type Parameters
TMarker
- Inheritance
-
AmazonEventBus<TMarker>
- Implements
-
IPublishSubscribeChannel<IIntegrationEvent, TMarker>IPublisher<IIntegrationEvent, TMarker>ISubscriber<IIntegrationEvent, TMarker>IDependencyInjectionMarker<TMarker>
- Inherited Members
Constructors
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.
See Also
IPublishSubscribeChannel<TRequest, TMarker>