Skip to content

Interface: BusRequestMessage

Makaio Framework


Makaio Framework / bus-core / BusRequestMessage

Defined in: ../../../packages/bus-core/src/types/transports.ts:117

Request message sent over transport.

correlationId: string

Defined in: ../../../packages/bus-core/src/types/transports.ts:122


optional deadline?: 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: string

Defined in: ../../../packages/bus-core/src/types/transports.ts:123


namespace: string

Defined in: ../../../packages/bus-core/src/types/transports.ts:120


payload: unknown

Defined in: ../../../packages/bus-core/src/types/transports.ts:121


optional priority?: 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: string

Defined in: ../../../packages/bus-core/src/types/transports.ts:119


optional timeout?: 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