Table of Contents

Interface IMessageManagerFactory

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

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

public interface IMessageManagerFactory

Methods

CreateMessageManager(ISQSMessageCommunication, MessageManagerConfiguration)

Create an instance of IMessageManager

IMessageManager CreateMessageManager(ISQSMessageCommunication sqsMessageCommunication, MessageManagerConfiguration configuration)

Parameters

sqsMessageCommunication ISQSMessageCommunication

The IMessagePoller that the IMessageManager to make lifecycle changes to the message.

configuration MessageManagerConfiguration

The configuration for the message manager

Returns

IMessageManager