Class EnvelopeData
- Namespace
- Excalibur.Dispatch.Serialization
- Assembly
- Excalibur.Dispatch.Abstractions.dll
Serializer-agnostic result of deserializing a binary inbox or outbox envelope.
public sealed class EnvelopeData
- Inheritance
-
EnvelopeData
- Inherited Members
- Extension Methods
Remarks
This type is returned by IBinaryEnvelopeDeserializer and contains all the data needed to reconstruct an inbox or outbox message without depending on any specific serializer's envelope types.
Properties
MessageId
Gets the unique message identifier.
public required Guid MessageId { get; init; }
Property Value
MessageType
Gets the fully qualified message type name.
public string? MessageType { get; init; }
Property Value
Metadata
Gets optional metadata or headers associated with the message.
public Dictionary<string, string>? Metadata { get; init; }
Property Value
Payload
Gets the serialized message payload.
public required byte[] Payload { get; init; }
Property Value
- byte[]
Timestamp
Gets the timestamp associated with the envelope (received or created).
public required DateTimeOffset Timestamp { get; init; }