API reference / @node-ts/bus-core / TransportMessage
Interface: TransportMessage<TransportMessageType>
Defined in: packages/bus-core/src/transport/transport-message.ts:7
A message from the transport provider that encapsulates the raw message plus the domain message payload
Type Parameters
| Type Parameter |
|---|
TransportMessageType |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
attributes | MessageAttributes | Additional attributes and metadata that was sent along with the message | packages/bus-core/src/transport/transport-message.ts:26 |
domainMessage | Message | The domain message payload transmitted in the payload | packages/bus-core/src/transport/transport-message.ts:16 |
id | string | undefined | Uniquely identify the message | packages/bus-core/src/transport/transport-message.ts:11 |
raw | TransportMessageType | The raw message as it was received from the transport | packages/bus-core/src/transport/transport-message.ts:21 |