PURISTA API / @purista/core / EBMessageType
Enumeration: EBMessageType
Defined in: core/types/EBMessageType.enum.ts:4
Type of event bridge message
Enumeration Members
Command
Command:
"command"
Defined in: core/types/EBMessageType.enum.ts:17
Command message type: Message which is sent from a single sender to exactly one single receiver. The sender expects a answer response from receiver within a specific time frame (ttl). If the sender does not receive a answer within this time frame, the command will be rejected with timeout error.
CommandErrorResponse
CommandErrorResponse:
"commandErrorResponse"
Defined in: core/types/EBMessageType.enum.ts:23
a error response from receiver of a command message
CommandSuccessResponse
CommandSuccessResponse:
"commandSuccessResponse"
Defined in: core/types/EBMessageType.enum.ts:20
a success response from receiver of a command message
CustomMessage
CustomMessage:
"customMessage"
Defined in: core/types/EBMessageType.enum.ts:48
a custom message / custom event
InfoInvokeTimeout
InfoInvokeTimeout:
"infoInvokeTimeout"
Defined in: core/types/EBMessageType.enum.ts:44
a service invoked a other function and did not get a answer within given ttl
InfoServiceDrain
InfoServiceDrain:
"infoServiceDrain"
Defined in: core/types/EBMessageType.enum.ts:40
indicates that a service is going to shut down and does no longer accept new requests
InfoServiceFunctionAdded
InfoServiceFunctionAdded:
"infoServiceFunctionAdded"
Defined in: core/types/EBMessageType.enum.ts:38
send when a service provides a new function
InfoServiceInit
InfoServiceInit:
"infoServiceInit"
Defined in: core/types/EBMessageType.enum.ts:32
indicates that a service is booting
InfoServiceNotReady
InfoServiceNotReady:
"infoServiceNotReady"
Defined in: core/types/EBMessageType.enum.ts:36
indicates that a service is not able to process requests (e.g. db not available)
InfoServiceReady
InfoServiceReady:
"infoServiceReady"
Defined in: core/types/EBMessageType.enum.ts:34
indicates that a service is ready
InfoServiceShutdown
InfoServiceShutdown:
"infoServiceShutdown"
Defined in: core/types/EBMessageType.enum.ts:42
last event from service before service is destroyed
InfoSubscriptionError
InfoSubscriptionError:
"infoSubscriptionError"
Defined in: core/types/EBMessageType.enum.ts:46
a subscription function is throwing
Stream
Stream:
"stream"
Defined in: core/types/EBMessageType.enum.ts:9
Stream message type: Message used for opening, transferring frames, and controlling stream sessions.
