NamedMessage
interface NamedMessage<SOURCE : NamedMessage<SOURCE, T>, out T> : NamedBoundedContextMessage<SOURCE, T> , Named
A further specialization of the NamedBoundedContextMessage interface that adds support for named entities. This interface represents a message that is named and can be associated with a bounded context.
Parameters
SOURCE
The type of the message source, self-referential to allow for fluent API design.
T
The type of the message body.
Inheritors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Adds all entries from the provided map to the message header and returns the message itself for method chaining.
Adds a key-value pair to the message header and returns the message itself for method chaining.
Link copied to clipboard
Marks the message as read-only and returns the message itself for method chaining.