NamedBoundedContextMessage

Properties

Link copied to clipboard
abstract val body: T
Link copied to clipboard
abstract val contextName: String
Link copied to clipboard
abstract val createTime: Long
Link copied to clipboard
abstract val header: Header
Link copied to clipboard
abstract val id: String

id.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open fun withHeader(additionalSource: Map<String, String>): SOURCE

合并 header 并返回一个新的 Message.

open fun withHeader(key: String, value: String): SOURCE
Link copied to clipboard
open fun withReadOnly(): SOURCE