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
Properties
contentEncoding
contentEncoding:
string
Defined in: packages/core/src/core/types/EBMessageBase.ts:20
content encoding of message payload
contentType
contentType:
ContentType
Defined in: packages/core/src/core/types/EBMessageBase.ts:18
content type of message payload
correlationId?
optional
correlationId:CorrelationId
Defined in: packages/core/src/core/types/EBMessageBase.ts:24
correlation id to know which command response referrs to which command
eventName?
optional
eventName:string
Defined in: packages/core/src/core/types/EBMessageBase.ts:30
event name for this message
id
id:
EBMessageId
Defined in: packages/core/src/core/types/EBMessageBase.ts:14
global unique id of message
otp?
optional
otp:string
Defined in: packages/core/src/core/types/EBMessageBase.ts:32
stringified Opentelemetry parent trace id
principalId?
optional
principalId:PrincipalId
Defined in: packages/core/src/core/types/EBMessageBase.ts:26
principal id
sender
sender:
EBMessageSenderAddress
Defined in: packages/core/src/core/types/EBMessageBase.ts:33
tenantId?
optional
tenantId:TenantId
Defined in: packages/core/src/core/types/EBMessageBase.ts:28
principal id
timestamp
timestamp:
number
Defined in: packages/core/src/core/types/EBMessageBase.ts:16
timestamp of message creation time
traceId?
optional
traceId:TraceId
Defined in: packages/core/src/core/types/EBMessageBase.ts:22
trace id of message