Table of Contents

Class MessageActivity

Namespace
Ratatoskr.Core
Assembly
Ratatoskr.dll

Represents an observed message activity at a specific pipeline stage.

public class MessageActivity
Inheritance
MessageActivity
Inherited Members

Properties

DispatchResult

The dispatch result. Only set at the Dispatched stage.

Exception

Any exception that occurred. Set when dispatch fails.

IsSuccess

Whether the operation succeeded. Set at the InboxDispatched stage: true on success, false on failure. null for other stages.

Message

The deserialized message object. Available at Published, OutboxStaged, and Dispatched stages.

MessageType

The CLR type of the message.

Properties

The message properties at the time of capture.

SerializedBody

The serialized message body (raw bytes). May be null for some stages. At the Sent stage, this is the exact bytes sent to the transport (including CloudEvents envelope in structured mode).

Stage

The pipeline stage where this activity was captured.

Timestamp

When this activity was captured.

TransportMessage

The transport-level wire representation of the message. Present for Sent and Received stages where transport data is available. For Sent: captured after envelope mapping (what was published to the transport). For Received: captured before envelope mapping (what arrived from the transport).

TransportName

The transport name this activity relates to (e.g. "rabbitmq", "efcore"). Set at Published, Sent, Received, and OutboxSent stages where a specific transport is involved.