LocalFirstMessageBus
interface LocalFirstMessageBus<M : Message<*, *>, NamedAggregate, Copyable<*>, E : MessageExchange<*, M>> : MessageBus<M, E>
A message bus that prioritizes local message handling before distributed routing.
This bus first attempts to send messages locally within the JVM, and only sends to the distributed bus if local sending fails or there are no local subscribers. It also merges local and distributed message streams for receiving.
Type Parameters
M
The message type, must implement Message, NamedAggregate, and Copyable
E
The message exchange type
Inheritors
Properties
Functions
Link copied to clipboard
Receives messages from both local and distributed buses.
Link copied to clipboard
Creates a single message source with an explicit transport readiness boundary.
Link copied to clipboard
Creates the message source owned by a me.ahoo.wow.runtime.WowRuntime dispatcher.