WaitStrategy

Properties

Link copied to clipboard
abstract val cancelled: Boolean
Link copied to clipboard
open override val completed: Boolean
Link copied to clipboard
Link copied to clipboard

Whether this strategy supports void commands.

Link copied to clipboard
abstract val terminated: Boolean
Link copied to clipboard
abstract val waitCommandId: String

The unique identifier for the wait command. This ID is used to match wait strategies with command processing results.

Functions

Link copied to clipboard
abstract fun complete()

Marks the wait strategy as completed.

Link copied to clipboard
abstract fun error(throwable: Throwable)

Signals an error occurred during command processing.

Link copied to clipboard
abstract fun next(signal: WaitSignal)

Receives the next processing result signal from downstream processors.

Link copied to clipboard
abstract fun onFinally(doFinally: Consumer<SignalType>)

Registers a callback to be executed when the strategy completes.

Link copied to clipboard
open override fun propagate(commandWaitEndpoint: String, header: Header)

执行传播操作

Link copied to clipboard
abstract fun waiting(): Flux<WaitSignal>

Returns a flux of wait signals as processing progresses.

Link copied to clipboard
abstract fun waitingLast(): Mono<WaitSignal>

Returns a mono that completes with the final wait signal.