Class TrackedMessage
Rich wrapper around a MessageActivity providing typed access to the captured message and its metadata.
public class TrackedMessage
- Inheritance
-
TrackedMessage
- Inherited Members
Properties
- Exception
Any exception that occurred during processing.
- IsSuccess
Whether the operation succeeded. Set at the InboxDispatched stage.
- MessageType
The CLR type of the message, if available.
- Properties
The message properties at the time of capture.
- RawBody
The raw serialized body bytes. At the Sent stage, this is the exact bytes on the wire.
- Result
The dispatch result. Only set at the Dispatched stage.
- Stage
The pipeline stage where this message was captured.
- Timestamp
When this activity was captured.
- TraceId
The trace ID extracted from the message's TraceParent header.
- TransportMessage
The transport-level wire representation of the message. Available at Sent (after envelope mapping) and Received (before envelope mapping) stages.
- TransportName
The transport that delivered this message (e.g. "rabbitmq", "efcore"). Set at InboxQueued and InboxDispatched stages.
Methods
- GetMessage<T>()
Gets the deserialized message as the specified type.