Skip to content

PURISTA API / Modules / @purista/core / EBMessageType

Enumeration: EBMessageType

@purista/core.EBMessageType

Type of event bridge message

Table of contents

Enumeration Members

Enumeration Members

Command

Command = "command"

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.

Defined in

core/types/EBMessageType.enum.ts:11


CommandErrorResponse

CommandErrorResponse = "commandErrorResponse"

a error response from receiver of a command message

Defined in

core/types/EBMessageType.enum.ts:17


CommandSuccessResponse

CommandSuccessResponse = "commandSuccessResponse"

a success response from receiver of a command message

Defined in

core/types/EBMessageType.enum.ts:14


CustomMessage

CustomMessage = "customMessage"

a custom message / custom event

Defined in

core/types/EBMessageType.enum.ts:42


InfoInvokeTimeout

InfoInvokeTimeout = "infoInvokeTimeout"

a service invoked a other function and did not get a answer within given ttl

Defined in

core/types/EBMessageType.enum.ts:38


InfoServiceDrain

InfoServiceDrain = "infoServiceDrain"

indicates that a service is going to shut down and does no longer accept new requests

Defined in

core/types/EBMessageType.enum.ts:34


InfoServiceFunctionAdded

InfoServiceFunctionAdded = "infoServiceFunctionAdded"

send when a service provides a new function

Defined in

core/types/EBMessageType.enum.ts:32


InfoServiceInit

InfoServiceInit = "infoServiceInit"

indicates that a service is booting

Defined in

core/types/EBMessageType.enum.ts:26


InfoServiceNotReady

InfoServiceNotReady = "infoServiceNotReady"

indicates that a service is not able to process requests (e.g. db not available)

Defined in

core/types/EBMessageType.enum.ts:30


InfoServiceReady

InfoServiceReady = "infoServiceReady"

indicates that a service is ready

Defined in

core/types/EBMessageType.enum.ts:28


InfoServiceShutdown

InfoServiceShutdown = "infoServiceShutdown"

last event from service before service is destroyed

Defined in

core/types/EBMessageType.enum.ts:36


InfoSubscriptionError

InfoSubscriptionError = "infoSubscriptionError"

a subscription function is throwing

Defined in

core/types/EBMessageType.enum.ts:40