Message envelope wrapping messages moving in the Axinom ecosystem.

Type Parameters

  • TContent = unknown

Hierarchy

  • MessageEnvelope

Properties

aggregate_id: string

The unique identifier of the aggregate

aggregate_type: string

The type of the aggregate (in DDD context) or entity for which this message is sent

auth_token?: string

JWT token of the user/actor who triggered message publication.

message_context?: unknown

Optional contextual info for the payload consumer to send back with a response command or event.

message_id: string

Message's unique identifier.

message_type: string

Type of the message e.g. ContentPublishEvent

message_version: string

Version of the format of the payload field.

payload: TContent

Message payload.

timestamp: string

Time and date (UTC) when the message was published.

Generated using TypeDoc