Skip to content

@purista/core v2.0.5


PURISTA API / @purista/core / EBMessageBase

Type Alias: EBMessageBase

EBMessageBase: object

Defined in: packages/core/src/core/types/EBMessageBase.ts:12

Default fields which are part of any purista message

Type declaration

contentEncoding

contentEncoding: string

content encoding of message payload

contentType

contentType: ContentType

content type of message payload

correlationId?

optional correlationId: CorrelationId

correlation id to know which command response referrs to which command

eventName?

optional eventName: string

event name for this message

id

id: EBMessageId

global unique id of message

otp?

optional otp: string

stringified Opentelemetry parent trace id

principalId?

optional principalId: PrincipalId

principal id

sender

sender: EBMessageSenderAddress

tenantId?

optional tenantId: TenantId

principal id

timestamp

timestamp: number

timestamp of message creation time

traceId?

optional traceId: TraceId

trace id of message