Skip to main content
Table of Contents

Class MessagingIdentifier

Namespace
Stratara.Shared.Messaging
Assembly
Stratara.Shared.dll

Default IMessagingIdentifier implementation. Resolves topic and subscription names from the bound MessagingOptions; if a name is missing in configuration, a stable fallback (e.g. "command", "event-bundle-subscription") is returned. Resolved names are memoized on first access to avoid repeated dictionary lookups during hot-path publishing.

public sealed class MessagingIdentifier : IMessagingIdentifier
Inheritance
MessagingIdentifier
Implements
Inherited Members
Extension Methods

Constructors

MessagingIdentifier(IOptions<MessagingOptions>)

Default IMessagingIdentifier implementation. Resolves topic and subscription names from the bound MessagingOptions; if a name is missing in configuration, a stable fallback (e.g. "command", "event-bundle-subscription") is returned. Resolved names are memoized on first access to avoid repeated dictionary lookups during hot-path publishing.

public MessagingIdentifier(IOptions<MessagingOptions> options)

Parameters

options IOptions<MessagingOptions>

Properties

CommandSubscription

Subscription read by the command-handling worker.

public string CommandSubscription { get; }

Property Value

string

CommandTopic

Topic carrying serialised CommandEnvelope messages.

public string CommandTopic { get; }

Property Value

string

EventBundleSagaSubscription

Subscription read by the saga worker over the event-bundle topic.

public string EventBundleSagaSubscription { get; }

Property Value

string

EventBundleSubscription

Subscription read by the projection worker.

public string EventBundleSubscription { get; }

Property Value

string

EventBundleTopic

Topic carrying serialised EventBundle messages.

public string EventBundleTopic { get; }

Property Value

string

HeavyCommandSubscription

Subscription read by the dedicated heavy-command worker over the heavy-command topic.

public string HeavyCommandSubscription { get; }

Property Value

string

HeavyCommandTopic

Topic carrying serialised CommandEnvelope messages for commands marked IHeavyCommand. Drained by a dedicated heavy-command worker so long-running commands cannot starve the interactive lane.

public string HeavyCommandTopic { get; }

Property Value

string

NotificationTopic

Topic used for fan-out client notifications (SignalR bridge).

public string NotificationTopic { get; }

Property Value

string