MessageDispatcher

Represents a message dispatcher that can run and dispatch messages.

This interface combines the capabilities of running a dispatch process, being closable for resource management, and having a name for identification.

Inheritors

Properties

Link copied to clipboard
abstract val name: String

Functions

Link copied to clipboard
open override fun close()

Closes this resource by performing a graceful shutdown.

Link copied to clipboard
abstract fun start()

Starts this component, initializing resources and beginning operations.

Link copied to clipboard
open fun stop()

Synchronously closes this resource with graceful shutdown.

open fun stop(timeout: Duration)

Synchronously closes this resource with graceful shutdown within a specified timeout.

Link copied to clipboard
abstract fun stopGracefully(): Mono<Void>

Asynchronously closes this resource with graceful shutdown.