NamedBoundedContextMessage
A message that is associated with a named bounded context.
This interface extends Message to include bounded context information, allowing messages to be scoped to specific business domains or contexts. The bounded context provides namespace isolation and helps with message routing and processing within the appropriate domain boundaries.
Parameters
The self-referential type for fluent method chaining
The type of the message body payload
See also
for bounded context naming capabilities
Inheritors
Properties
Functions
Checks if this entity belongs to the same bounded context as another entity.
Adds all key-value pairs from the provided map to the message header and returns the message for method chaining.
Adds a key-value pair to the message header and returns the message for method chaining.
Marks this message as read-only and returns it for method chaining.