Enum MessageStage
Defines the stages in the message lifecycle where activities can be observed.
public enum MessageStage
Fields
Dispatched = 5MessageDispatcher completed handler invocation.
InboxDispatched = 7InboxProcessor completed invocation of a single inbox-managed handler. Fired once per handler per delivery attempt.
InboxPoisoned = 8A handler status has been marked as poisoned after exceeding the maximum retry count.
InboxQueued = 6Message accepted into the inbox (persisted to DB). Inbox-managed handlers will be invoked asynchronously by the InboxProcessor.
OutboxPoisoned = 9An outbox message has been marked as poisoned after exceeding the maximum retry count.
OutboxSent = 3Outbox processor sent message to transport.
OutboxStaged = 2Message serialized into outbox entity during SaveChanges.
Published = 0Fired 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 = 4Consumer received message from transport, before dispatch.
Sent = 1IMessageSender.SendAsync completed - bytes are on the wire.