NamedBoundedContextMessage
interface NamedBoundedContextMessage<SOURCE : NamedBoundedContextMessage<SOURCE, T>, out T> : Message<SOURCE, T> , NamedBoundedContext
An extension of the Message interface that incorporates the NamedBoundedContext trait. This interface represents a message that is associated with a bounded context and has a name.
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.