Manifest [[message]] Section
The [[message]]
section defines the URIs that the application package introduces to the rest of
the system.
[[message]]
# message details discussed below.
The section may be skipped when the message URI addresses a private lifecycle component
in the application package. Skipping is only allowed for URIs using pkg://
scheme because they
directly contain the lifecycle component's name. In other words, every lifecycle component can be
launched by prefixing the component id with pkg://
. It is equivalent to defining a [[message]]
as follows. Every URI defined in a [[message]]
must be included in one and only one module.
[[message]]
uri = "pkg://com.amazon.samplepkg.main"
sender-privileges = ["self"]
receiver-privileges = ["self"]
Fields
-
uri
(string, required): URI that can be used with Vega Messaging APIs for communication.uri = "pkg://com.amazon.samplepkg.main" uri = "samplepkg://main"
-
sender-privileges
(array of strings, required): If multiple privileges are specified then the sender or receiver must have all privileges in the list to assume the role. In addition to the specific privilege ids, use*
orself
if appropriate.*
allows anyone to use (send / receive) the message.self
allows only the application package the module is part of to use the message.sender-privileges = ["self"] sender-privileges = ["*"]
Last updated: Sep 30, 2025