Table of Contents

Constructor ChannelHandlerRegistration

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

ChannelHandlerRegistration(Type, Type, bool, string?, IReadOnlyList<string>)

Describes a handler registered on a specific consume channel for a specific message type.

public ChannelHandlerRegistration(Type MessageType, Type HandlerType, bool IsInbox, string? InboxKey, IReadOnlyList<string> LegacyKeys)

Parameters

MessageType Type

CLR type of the message this handler processes.

HandlerType Type

CLR type of the handler class to resolve from DI.

IsInbox bool

Whether this handler is managed by the inbox processor.

InboxKey string

Stable key for inbox deduplication. Required when IsInbox is true.

LegacyKeys IReadOnlyList<string>

Previous handler keys that should still be matched when processing existing inbox entries during a handler rename transition. Legacy keys are never used to create new inbox entries.

ChannelHandlerRegistration(Type, Type, bool, string?)

Creates a registration without legacy keys.

public ChannelHandlerRegistration(Type MessageType, Type HandlerType, bool IsInbox, string? InboxKey)

Parameters

MessageType Type
HandlerType Type
IsInbox bool
InboxKey string