prepare

override fun prepare(runtimeContext: RuntimeContext): Mono<Void>

Starts the dispatcher by running all aggregate dispatchers.

Logs the named aggregates being subscribed to and starts each individual aggregate dispatcher. If no aggregates are configured, logs a warning and returns. This method should be called once during the application's startup phase.

Throws

if starting any aggregate dispatcher fails.