InMemoryMessageBus
@ThreadSafe
Abstract base class for in-memory message bus implementations.
This class provides a local message bus that uses Reactor Sinks for message distribution within a single JVM instance. Messages are sent to subscribers via sinks and can be received by subscribing to the appropriate named aggregates.
Type Parameters
M
The type of message, must implement both Message and NamedAggregate
E
The type of message exchange
Inheritors
Properties
Functions
Link copied to clipboard
Creates a message exchange from this message.
Link copied to clipboard
Receives messages for the specified named aggregates.
Link copied to clipboard
Creates the message source owned by a me.ahoo.wow.runtime.WowRuntime dispatcher.
Link copied to clipboard
Attempts local delivery only while a processing subscriber is routable.
Link copied to clipboard
Returns the number of subscribers for the specified named aggregate.