Class MessageConfiguration
- Namespace
- AWS.Messaging.Configuration
- Assembly
- AWS.Messaging.dll
Implementation of IMessageConfiguration.
public class MessageConfiguration : IMessageConfiguration
- Inheritance
-
MessageConfiguration
- Implements
Properties
BackoffPolicy
Sets the Backoff Policy to be used with AWS.Messaging.Services.Backoff.BackoffHandler.
public BackoffPolicy BackoffPolicy { get; set; }
Property Value
- BackoffPolicy
CappedExponentialBackoffOptions
Holds an instance of CappedExponentialBackoffOptions to control the behavior of AWS.Messaging.Services.Backoff.Policies.CappedExponentialBackoffPolicy.
public CappedExponentialBackoffOptions CappedExponentialBackoffOptions { get; set; }
Property Value
IntervalBackoffOptions
Holds an instance of IntervalBackoffOptions to control the behavior of AWS.Messaging.Services.Backoff.Policies.IntervalBackoffPolicy.
public IntervalBackoffOptions IntervalBackoffOptions { get; set; }
Property Value
LogMessageContent
Controls the visibility of data messages in the logging framework, exception handling and other areas. If this is enabled, messages sent by this framework will be visible in plain text across the framework's components. This means any sensitive user data sent by this framework will be visible in logs, any exceptions thrown and others.
public bool LogMessageContent { get; set; }
Property Value
MessagePollerConfigurations
List of configurations for subscriber to poll for messages from an AWS service endpoint.
public IList<IMessagePollerConfiguration> MessagePollerConfigurations { get; set; }
Property Value
PollingControlToken
Holds an instance of PollingControlToken to control behaviour of IMessagePoller
public PollingControlToken PollingControlToken { get; set; }
Property Value
PublisherMappings
Maps the message types to a publisher configuration
public IList<PublisherMapping> PublisherMappings { get; }
Property Value
SerializationCallbacks
Holds instances of ISerializationCallback that lets users inject their own metadata to incoming and outgoing messages.
public IList<ISerializationCallback> SerializationCallbacks { get; }
Property Value
SerializationOptions
Holds an instance of SerializationOptions to control the serialization/de-serialization of the application message.
public SerializationOptions SerializationOptions { get; }
Property Value
Source
The relative or absolute Uri to be used as a message source. This source is added globally to any message sent through the framework.
public string? Source { get; set; }
Property Value
SourceSuffix
A suffix to append to the user-defined Source or computed by the framework in the absence of a user-defined one.
public string? SourceSuffix { get; set; }
Property Value
SubscriberMappings
Maps the message types to a subscriber configuration
public IList<SubscriberMapping> SubscriberMappings { get; }
Property Value
Methods
GetPublisherMapping(Type)
Returns back the publisher mapping for the given message type.
public PublisherMapping? GetPublisherMapping(Type messageType)
Parameters
messageType
TypeThe Type of the message
Returns
- PublisherMapping
The PublisherMapping containing routing info for the specified message type.
GetSubscriberMapping(string)
Returns back the subscriber mapping for the given message type identifier.
public SubscriberMapping? GetSubscriberMapping(string messageTypeIdentifier)
Parameters
messageTypeIdentifier
stringThe language agnostic identifier for the application message
Returns
- SubscriberMapping
The SubscriberMapping containing routing info for the specified message type.
GetSubscriberMapping(Type)
Returns back the subscriber mapping for the given message type.
public SubscriberMapping? GetSubscriberMapping(Type messageType)
Parameters
messageType
TypeThe Type of the message
Returns
- SubscriberMapping
The SubscriberMapping containing routing info for the specified message type.