Skip to main content

core.messaging.meta.message_meta_information

MessageMetaInformation Objects

@dataclasses.dataclass(frozen=True, kw_only=True)
class MessageMetaInformation()

Stores additional information necessary for message dispatching.

When a message is emitted, additional information is required to be able to properly handle it. This includes its entrypoint into the system, as well as whether the message type requires a reply.

Attributes:

  • entrypoint - From where the message entered the system (locally or remotely).
  • requires_reply - Whether a reply is expected.

Entrypoint Objects

class Entrypoint(IntEnum)

Defines from where a message has entered the system.

is_handled_externally

@property
def is_handled_externally() -> bool

Whether the message is handled outside the message bus.

MessageMetaInformationType

pylint: disable=invalid-name