Interface: BusRequestMessage
Makaio Framework / bus-core / BusRequestMessage
Interface: BusRequestMessage
Section titled “Interface: BusRequestMessage”Defined in: ../../../packages/bus-core/src/types/transports.ts:117
Request message sent over transport.
Properties
Section titled “Properties”correlationId
Section titled “correlationId”correlationId:
string
Defined in: ../../../packages/bus-core/src/types/transports.ts:122
deadline?
Section titled “deadline?”
optionaldeadline?:number
Defined in: ../../../packages/bus-core/src/types/transports.ts:147
Absolute dispatch deadline as a Unix timestamp in milliseconds (Date.now() + timeout).
Set on the first dispatch hop and propagated through all subsequent hops so that each hop can compute its remaining time budget without relying on the original timeout value alone.
messageId
Section titled “messageId”messageId:
string
Defined in: ../../../packages/bus-core/src/types/transports.ts:123
namespace
Section titled “namespace”namespace:
string
Defined in: ../../../packages/bus-core/src/types/transports.ts:120
payload
Section titled “payload”payload:
unknown
Defined in: ../../../packages/bus-core/src/types/transports.ts:121
priority?
Section titled “priority?”
optionalpriority?:number
Defined in: ../../../packages/bus-core/src/types/transports.ts:139
Priority cursor for cross-transport priority-based dispatch.
When set, dispatch considers only handlers with a priority strictly below this value, enabling the chain to continue from where a previous hop left off. Omitted on the first dispatch hop (meaning start from the highest priority).
subject
Section titled “subject”subject:
string
Defined in: ../../../packages/bus-core/src/types/transports.ts:119
timeout?
Section titled “timeout?”
optionaltimeout?:number
Defined in: ../../../packages/bus-core/src/types/transports.ts:131
Caller-specified request timeout in milliseconds.
Propagated across relay hops so intermediate transport registries use the
same timeout policy as the original caller.
A value of 0 means no automatic timeout.
type:
"request"
Defined in: ../../../packages/bus-core/src/types/transports.ts:118