send

open override fun send(message: M): Mono<Void>

Sends a message using local-first routing strategy.

If local-first routing is enabled and there are local subscribers, the message is first sent locally. Regardless of local success/failure, a copy is also sent to the distributed bus. If local-first is disabled or no local subscribers exist, only the distributed bus is used.

Return

A Mono that completes when sending is done

Parameters

message

The message to send