Table of Contents

Interface IMessagePollerFactory

Namespace
AWS.Messaging.Services
Assembly
AWS.Messaging.dll

Factory for creating instances of IMessagePoller. Users that want to use a custom IMessagePoller can inject into the Microsoft.Extensions.DependencyInjection.IServiceCollection their own implementation of IMessagePollerFactory to construct a custom IMessagePoller instance.

public interface IMessagePollerFactory

Methods

CreateMessagePoller(IMessagePollerConfiguration)

Create an instance of IMessagePoller for the given resource type.

IMessagePoller CreateMessagePoller(IMessagePollerConfiguration pollerConfiguration)

Parameters

pollerConfiguration IMessagePollerConfiguration

The configuration for the poller.

Returns

IMessagePoller