Interface IntentMessage<BODY>

Represents an intent sent by an application.

The intent is transported to applications that provide a fulfilling capability visible to the sending application.

Type Parameters

  • BODY = any

Hierarchy

Properties

body?: BODY

Optional data passed along with the intent.

capability: Capability

Capability that fulfills the intent.

headers: Map<string, any>

Additional information attached to this message.

Header values must be JSON serializable. If no headers are set, the Map is empty.

intent: Intent

Intent that represents this message.

retain?: boolean

Indicates whether this message is retained on the broker for late subscribers.

Generated using TypeDoc