Table of Contents

Class PublisherMapping

Namespace
AWS.Messaging.Configuration
Assembly
AWS.Messaging.dll

This maps a message type to a message publisher.

public class PublisherMapping
Inheritance
PublisherMapping

Constructors

PublisherMapping(Type, IMessagePublisherConfiguration, string, string?)

Creates a mapping object for the specified message type as well as the AWS service to publisher to. This object will be used internally by the framework to properly route the user-defined message.

public PublisherMapping(Type messageType, IMessagePublisherConfiguration publisherConfiguration, string publishTargetType, string? messageTypeIdentifier = null)

Parameters

messageType Type

The Type of the message

publisherConfiguration IMessagePublisherConfiguration

The publisher configuration

publishTargetType string

The type of publisher to use

messageTypeIdentifier string

The language-agnostic message type identifier. If not specified, the .NET type will be used.

Properties

MessageType

public Type MessageType { get; init; }

Property Value

Type

MessageTypeIdentifier

public string MessageTypeIdentifier { get; init; }

Property Value

string

PublishTargetType

public string PublishTargetType { get; init; }

Property Value

string

PublisherConfiguration

public IMessagePublisherConfiguration PublisherConfiguration { get; init; }

Property Value

IMessagePublisherConfiguration