SimpleDomainEventExchange

class SimpleDomainEventExchange<T : Any>(val message: DomainEvent<T>, val attributes: MutableMap<String, Any> = ConcurrentHashMap()) : DomainEventExchange<T>

Constructors

Link copied to clipboard
constructor(message: DomainEvent<T>, attributes: MutableMap<String, Any> = ConcurrentHashMap())

Properties

Link copied to clipboard
open override val attributes: MutableMap<String, Any>
Link copied to clipboard
open override val message: DomainEvent<T>

Functions

Link copied to clipboard
open fun acknowledge(): Mono<Void>
Link copied to clipboard
open override fun clearError()
Link copied to clipboard
open fun <T : Any> extractDeclared(type: Class<T>): T?
Link copied to clipboard
open fun <T : Any> extractObject(type: Class<T>): T?
Link copied to clipboard
open fun <T : Any> extractRequiredObject(type: Class<T>): T
Link copied to clipboard
open fun <T> getAttribute(key: String): T?
Link copied to clipboard
open override fun getCommandResult(): Map<String, Any>
open override fun <R> getCommandResult(key: String): R?
Link copied to clipboard
open override fun getError(): Throwable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setAttribute(key: String, value: Any): DomainEventExchange<T>
Link copied to clipboard
open override fun setCommandResult(key: String, value: Any)
Link copied to clipboard
Link copied to clipboard
open override fun setError(throwable: Throwable)
Link copied to clipboard
open fun setFunction(functionInfo: FunctionInfo): DomainEventExchange<T>
Link copied to clipboard