StateEventExchange

Exchange container for state events during message processing. Provides access to the state event message and allows attaching processing attributes.

Parameters

S

The type of the state in the state event.

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
abstract val message: StateEvent<S>

Functions

Link copied to clipboard
open fun acknowledge(): Mono<Void>
Link copied to clipboard
open override fun clearError()

Clears the current error object.

Link copied to clipboard
open fun <T : Any> extractDeclared(type: Class<T>): T?
Link copied to clipboard
open fun <T : Any> extractObject(type: KType): T?
Link copied to clipboard
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?

Gets the current error object.

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): StateEventExchange<S>
Link copied to clipboard
open override fun setCommandResult(key: String, value: Any)
Link copied to clipboard
open override fun setError(throwable: Throwable)

Sets the error object for this context.

Link copied to clipboard
open fun setFunction(functionInfo: FunctionInfo): StateEventExchange<S>
Link copied to clipboard