Class MessagingIdentifier
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
optionsIOptions<MessagingOptions>
Properties
CommandSubscription
Subscription read by the command-handling worker.
public string CommandSubscription { get; }
Property Value
CommandTopic
Topic carrying serialised CommandEnvelope messages.
public string CommandTopic { get; }
Property Value
EventBundleSagaSubscription
Subscription read by the saga worker over the event-bundle topic.
public string EventBundleSagaSubscription { get; }
Property Value
EventBundleSubscription
Subscription read by the projection worker.
public string EventBundleSubscription { get; }
Property Value
EventBundleTopic
Topic carrying serialised EventBundle messages.
public string EventBundleTopic { get; }
Property Value
HeavyCommandSubscription
Subscription read by the dedicated heavy-command worker over the heavy-command topic.
public string HeavyCommandSubscription { get; }
Property Value
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
NotificationTopic
Topic used for fan-out client notifications (SignalR bridge).
public string NotificationTopic { get; }