Table of Contents

Class ChannelHandlerRegistration

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

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

public record ChannelHandlerRegistration : IEquatable<ChannelHandlerRegistration>
Inheritance
ChannelHandlerRegistration
Implements
Inherited Members

Constructors

ChannelHandlerRegistration(Type, Type, bool, string?)

Creates a registration without legacy keys.

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

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

Properties

HandlerType

CLR type of the handler class to resolve from DI.

InboxKey

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

IsInbox

Whether this handler is managed by the inbox processor.

LegacyKeys

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.

MessageType

CLR type of the message this handler processes.