Table of Contents

Enum MessageStage

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

Defines the stages in the message lifecycle where activities can be observed.

public enum MessageStage

Fields

Dispatched = 5

MessageDispatcher completed handler invocation.

InboxDispatched = 7

InboxProcessor completed invocation of a single inbox-managed handler. Fired once per handler per delivery attempt.

InboxPoisoned = 8

A handler status has been marked as poisoned after exceeding the maximum retry count.

InboxQueued = 6

Message accepted into the inbox (persisted to DB). Inbox-managed handlers will be invoked asynchronously by the InboxProcessor.

OutboxPoisoned = 9

An outbox message has been marked as poisoned after exceeding the maximum retry count.

OutboxSent = 3

Outbox processor sent message to transport.

OutboxStaged = 2

Message serialized into outbox entity during SaveChanges.

Published = 0

Fired once per transport after each IMessageSender.SendAsync attempt during PublishDirectAsync. Includes TransportName and Exception (null on success) so observers can see per-transport outcomes.

Received = 4

Consumer received message from transport, before dispatch.

Sent = 1

IMessageSender.SendAsync completed - bytes are on the wire.