Table of Contents

Class DispatchMessage

Namespace
Excalibur.Dispatch.Messaging
Assembly
Excalibur.Dispatch.dll

Represents a generic dispatch message with serialized payload and metadata.

public sealed class DispatchMessage
Inheritance
DispatchMessage
Inherited Members
Extension Methods

Properties

CreatedAt

Gets or sets the timestamp when the message was created.

public DateTime CreatedAt { get; set; }

Property Value

DateTime

The timestamp when the message was created.

Id

Gets or sets the unique identifier for the message.

public string Id { get; set; }

Property Value

string

The unique identifier for the message.

MessageType

Gets or sets the type name of the message for routing and deserialization.

public string MessageType { get; set; }

Property Value

string

The current MessageType value.

Payload

Gets or sets the serialized message payload as a byte array.

public byte[] Payload { get; set; }

Property Value

byte[]

The current Payload value.