Table of Contents

Class IntegrationEventDispatcher

Namespace
Savvyio.EventDriven
Assembly
Savvyio.EventDriven.dll

Provides a default implementation of of the IIntegrationEventDispatcher interface.

public class IntegrationEventDispatcher : FireForgetDispatcher, IIntegrationEventDispatcher, IDispatcher
Inheritance
Object
IntegrationEventDispatcher
Implements
Inherited Members

Constructors

IntegrationEventDispatcher(IServiceLocator)

Initializes a new instance of the IntegrationEventDispatcher class.

public IntegrationEventDispatcher(IServiceLocator serviceLocator)

Parameters

serviceLocator IServiceLocator

The provider of service implementations.

Methods

Publish(IIntegrationEvent)

Publishes the specified request using Fire-and-Forget/In-Only MEP.

public void Publish(IIntegrationEvent request)

Parameters

request IIntegrationEvent

The IIntegrationEvent to publish.

PublishAsync(IIntegrationEvent, Action<AsyncOptions>)

Publishes the specified request asynchronous using Fire-and-Forget/In-Only MEP.

public Task PublishAsync(IIntegrationEvent request, Action<AsyncOptions> setup = null)

Parameters

request IIntegrationEvent

The IIntegrationEvent to publish.

setup Action<AsyncOptions>

The AsyncOptions which may be configured.

Returns

Task

A System.Threading.Tasks.Task that represents the asynchronous operation.

See Also