Skip to content

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 ​

PropertyTypeDescriptionDefined in
attributesMessageAttributesAdditional attributes and metadata that was sent along with the messagepackages/bus-core/src/transport/transport-message.ts:26
domainMessageMessageThe domain message payload transmitted in the payloadpackages/bus-core/src/transport/transport-message.ts:16
idstring | undefinedUniquely identify the messagepackages/bus-core/src/transport/transport-message.ts:11
rawTransportMessageTypeThe raw message as it was received from the transportpackages/bus-core/src/transport/transport-message.ts:21

Released under the MIT License.