Class ChannelHandlerRegistry
Immutable registry of channel-scoped handler registrations, built at startup from channel configuration. Replaces DI-based handler discovery with explicit lookups by channel name and message type.
public class ChannelHandlerRegistry
- Inheritance
-
ChannelHandlerRegistry
- Inherited Members
Properties
- HasNoInboxHandlers
True if no inbox handlers have been registered.
Methods
- Build(ChannelRegistry)
Builds the registry from all consume channels in the given ChannelRegistry.
- GetAllInboxHandlers()
Returns all inbox handler registrations across all channels. Legacy key aliases are excluded — each handler appears exactly once (by primary key).
- GetFireAndForgetHandlers(string, Type)
Returns fire-and-forget handler types for a specific channel and message type.
- GetInboxHandlers(string)
Returns inbox handler registrations for a specific channel.
- GetInboxHandlers(string, Type)
Returns inbox handler registrations for a specific channel and message type.
- GetInboxRegistrationByKey(string)
Looks up an inbox handler registration by its stable key or a legacy key.